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

public abstract class PageContext<RequestT,ResponseT,ResourceT>

The context for a page call.

Inheritance

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

Type Parameters

Name Description
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
Name Description
callable UnaryCallable<RequestT,ResponseT>
pageDescriptor PagedListDescriptor<RequestT,ResponseT,ResourceT>
request RequestT
callContext ApiCallContext
Returns
Type Description
PageContext<RequestT,ResponseT,ResourceT>

Constructors

PageContext()

public PageContext()

Methods

getCallContext()

public abstract ApiCallContext getCallContext()
Returns
Type Description
ApiCallContext

getCallable()

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

getPageDescriptor()

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

getRequest()

public abstract RequestT getRequest()
Returns
Type Description
RequestT

withRequest(RequestT newRequest)

public PageContext<RequestT,ResponseT,ResourceT> withRequest(RequestT newRequest)
Parameter
Name Description
newRequest RequestT
Returns
Type Description
PageContext<RequestT,ResponseT,ResourceT>