Uses of Interface
com.shri.restinpeace.PaginationRequest
Packages that use PaginationRequest
-
Uses of PaginationRequest in com.shri.restinpeace
Methods in com.shri.restinpeace that return PaginationRequestModifier and TypeMethodDescriptionPaginationRequest.and(PaginationRequest other) Combines this request's overrides withother's - for a composite key needing more than one override applied to the same next request (e.g. twowithBodyField(java.lang.String, java.lang.Object)calls for a two-column keyset).static PaginationRequestFollows the given URL verbatim for the next page, bypassing the method's own URL template entirely - thePaginationStrategycounterpart ofpointerKind = FULL_URL.static PaginationRequestPaginationRequest.withBodyField(String dottedPath, Object value) Sets (or overrides) a dotted-path field within the next request's JSON body - the method must declare a@Body Map<String,Object>parameter for this to apply to, the same carrier shape ยง6.7 uses for the declarative@Paginatedpath.static PaginationRequestPaginationRequest.withHeader(String name, Object value) Sets (or overrides) a request header on the next request.static PaginationRequestPaginationRequest.withPathParam(String name, Object value) Sets (or overrides) a{name}URL path placeholder on the next request.static PaginationRequestPaginationRequest.withQueryParam(String name, Object value) Sets (or overrides) a query parameter on the next request.Methods in com.shri.restinpeace that return types with arguments of type PaginationRequestModifier and TypeMethodDescriptionPaginationStrategy.nextRequest(PaginationContext<T> context) Consulted after every page fetch, including the first, to decide whether to continue and what the next request should look like.Methods in com.shri.restinpeace with parameters of type PaginationRequestModifier and TypeMethodDescriptionPaginationRequest.and(PaginationRequest other) Combines this request's overrides withother's - for a composite key needing more than one override applied to the same next request (e.g. twowithBodyField(java.lang.String, java.lang.Object)calls for a two-column keyset). -
Uses of PaginationRequest in com.shri.restinpeace.internal
Classes in com.shri.restinpeace.internal that implement PaginationRequestModifier and TypeClassDescriptionfinal classThe sole implementation ofPaginationRequest- constructed only via its static factory methods (which this class's own statics back) andPaginationRequestImpl.and(com.shri.restinpeace.PaginationRequest).Methods in com.shri.restinpeace.internal that return PaginationRequestMethods in com.shri.restinpeace.internal with parameters of type PaginationRequest