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