Class ProductSearchClient.ListProductsPage (3.21.0)

public static class ProductSearchClient.ListProductsPage extends AbstractPage<ListProductsRequest,ListProductsResponse,Product,ProductSearchClient.ListProductsPage>

Inheritance

java.lang.Object > AbstractPage > ProductSearchClient.ListProductsPage

Methods

createPage(PageContext<ListProductsRequest,ListProductsResponse,Product> context, ListProductsResponse response)

protected ProductSearchClient.ListProductsPage createPage(PageContext<ListProductsRequest,ListProductsResponse,Product> context, ListProductsResponse response)
Parameters
NameDescription
contextPageContext<ListProductsRequest,ListProductsResponse,Product>
responseListProductsResponse
Returns
TypeDescription
ProductSearchClient.ListProductsPage
Overrides

createPageAsync(PageContext<ListProductsRequest,ListProductsResponse,Product> context, ApiFuture<ListProductsResponse> futureResponse)

public ApiFuture<ProductSearchClient.ListProductsPage> createPageAsync(PageContext<ListProductsRequest,ListProductsResponse,Product> context, ApiFuture<ListProductsResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListProductsRequest,ListProductsResponse,Product>
futureResponseApiFuture<ListProductsResponse>
Returns
TypeDescription
ApiFuture<ListProductsPage>
Overrides