T - the body response type.public class PaginatedQuery<T>
extends java.lang.Object
| Constructor and Description |
|---|
PaginatedQuery(Http http,
java.lang.String path,
Param[] headers,
Param[] params,
HttpCore.BodyHandler<T> bodyHandler)
Construct a PaginatedQuery
|
PaginatedQuery(Http http,
java.lang.String path,
Param[] headers,
Param[] params,
HttpCore.RequestBody requestBody,
HttpCore.BodyHandler<T> bodyHandler)
Construct a PaginatedQuery
|
| Modifier and Type | Method and Description |
|---|---|
PaginatedResult<T> |
get()
Get the result of the first query
|
public PaginatedQuery(Http http, java.lang.String path, Param[] headers, Param[] params, HttpCore.BodyHandler<T> bodyHandler)
http - the http instancepath - the path of the resource being queriedheaders - headers to pass into the first and all relative queriesparams - params to pass into the initial querybodyHandler - handler to parse response bodies for first and all relative queriespublic PaginatedQuery(Http http, java.lang.String path, Param[] headers, Param[] params, HttpCore.RequestBody requestBody, HttpCore.BodyHandler<T> bodyHandler)
http - the http instancepath - the path of the resource being queriedheaders - headers to pass into the first and all relative queriesparams - params to pass into the initial querybodyHandler - handler to parse response bodies for first and all relative queriespublic PaginatedResult<T> get() throws AblyException
AblyException