Uses of Class
kong.unirest.core.PagedList
Packages that use PagedList
-
Uses of PagedList in kong.unirest.core
Methods in kong.unirest.core that return PagedListModifier and TypeMethodDescription<T> PagedList<T> BaseRequest.asPaged(Function<HttpRequest, HttpResponse> mappingFunction, Function<HttpResponse<T>, String> linkExtractor) <T> PagedList<T> HttpRequest.asPaged(Function<HttpRequest, HttpResponse> mappingFunction, Function<HttpResponse<T>, String> linkExtractor) Allows for following paging links common in many APIs.PagedList.ifFailure(Consumer<HttpResponse<T>> consumer) For each failed response if the response was NOT a 200-series response or a mapping exception happened.PagedList.ifSuccess(Consumer<HttpResponse<T>> consumer) For each successful response If the response was a 200-series response.