Class PageContext<RequestT,ResponseT,ResourceT> (2.14.0)

public abstract class PageContext<RequestT,ResponseT,ResourceT>

The context for a page call.

Inheritance

java.lang.Object > PageContext<RequestT,ResponseT,ResourceT>

Type Parameters

NameDescription
RequestT
ResponseT
ResourceT

Static Methods

<RequestT,ResponseT,ResourceT>create(UnaryCallable<RequestT,ResponseT> callable, PagedListDescriptor<RequestT,ResponseT,ResourceT> pageDescriptor, RequestT request, ApiCallContext callContext)

public static PageContext<RequestT,ResponseT,ResourceT> <RequestT,ResponseT,ResourceT>create(UnaryCallable<RequestT,ResponseT> callable, PagedListDescriptor<RequestT,ResponseT,ResourceT> pageDescriptor, RequestT request, ApiCallContext callContext)
Parameters
NameDescription
callableUnaryCallable<RequestT,ResponseT>
pageDescriptorPagedListDescriptor<RequestT,ResponseT,ResourceT>
requestRequestT
callContextApiCallContext
Returns
TypeDescription
PageContext<RequestT,ResponseT,ResourceT>

Constructors

PageContext()

public PageContext()

Methods

getCallContext()

public abstract ApiCallContext getCallContext()
Returns
TypeDescription
ApiCallContext

getCallable()

public abstract UnaryCallable<RequestT,ResponseT> getCallable()
Returns
TypeDescription
UnaryCallable<RequestT,ResponseT>

getPageDescriptor()

public abstract PagedListDescriptor<RequestT,ResponseT,ResourceT> getPageDescriptor()
Returns
TypeDescription
PagedListDescriptor<RequestT,ResponseT,ResourceT>

getRequest()

public abstract RequestT getRequest()
Returns
TypeDescription
RequestT

withRequest(RequestT newRequest)

public PageContext<RequestT,ResponseT,ResourceT> withRequest(RequestT newRequest)
Parameter
NameDescription
newRequestRequestT
Returns
TypeDescription
PageContext<RequestT,ResponseT,ResourceT>