Class PagedCallable<RequestT,ResponseT,PagedListResponseT> (2.11.0)

publicclass PagedCallable<RequestT,ResponseT,PagedListResponseT>extendsUnaryCallable<RequestT,PagedListResponseT>

A UnaryCallable which provides page streaming functionality for unary calls.

Public for technical reasons - for advanced usage.

Inheritance

java.lang.Object > UnaryCallable > PagedCallable<RequestT,ResponseT,PagedListResponseT>

Type Parameters

Name Description
RequestT
ResponseT
PagedListResponseT

Constructors

PagedCallable(UnaryCallable<RequestT,ResponseT> callable, PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT> pagedListResponseFactory)

publicPagedCallable(UnaryCallable<RequestT,ResponseT>callable,PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT>pagedListResponseFactory)
Parameters
Name Description
callable UnaryCallable<RequestT,ResponseT>
pagedListResponseFactory PagedListResponseFactory<RequestT,ResponseT,PagedListResponseT>

Methods

futureCall(RequestT request, ApiCallContext context)

publicApiFuture<PagedListResponseT>futureCall(RequestTrequest,ApiCallContextcontext)

Perform a call asynchronously.

Parameters
Name Description
request RequestT
context ApiCallContext
Returns
Type Description
com.google.api.core.ApiFuture<PagedListResponseT>
Overrides

toString()

publicStringtoString()
Returns
Type Description
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.