Package io.ably.lib.http
Class HttpPaginatedQuery
java.lang.Object
io.ably.lib.http.HttpPaginatedQuery
- All Implemented Interfaces:
HttpCore.ResponseHandler<HttpPaginatedResponse>
public class HttpPaginatedQuery
extends Object
implements HttpCore.ResponseHandler<HttpPaginatedResponse>
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionHttpPaginatedQuery
(Http http, String method, String path, Param[] headers, Param[] params, HttpCore.RequestBody requestBody) -
Method Summary
Modifier and TypeMethodDescriptionexec()
Get the result of the first queryGet the result of the first queryhandleResponse
(HttpCore.Response response, ErrorInfo error)
-
Constructor Details
-
HttpPaginatedQuery
-
-
Method Details
-
exec
Get the result of the first query- Returns:
- An HttpPaginatedResponse giving the first page of results together with any available links to related results pages.
- Throws:
AblyException
-
exec
Get the result of the first query- Returns:
- An HttpPaginatedResponse giving the first page of results together with any available links to related results pages.
- Throws:
AblyException
-
handleResponse
public HttpPaginatedResponse handleResponse(HttpCore.Response response, ErrorInfo error) throws AblyException - Specified by:
-
handleResponse
in interfaceHttpCore.ResponseHandler<HttpPaginatedResponse>
- Throws:
AblyException
-