public class AsyncHttpPaginatedQuery extends java.lang.Object implements HttpCore.ResponseHandler<AsyncHttpPaginatedResponse>
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncHttpPaginatedQuery.AsyncHttpPaginatedResult
A private class encapsulating the result of a single page response
|
| Constructor and Description |
|---|
AsyncHttpPaginatedQuery(Http http,
java.lang.String method,
java.lang.String path,
Param[] headers,
Param[] params,
HttpCore.RequestBody requestBody) |
| Modifier and Type | Method and Description |
|---|---|
void |
exec(AsyncHttpPaginatedResponse.Callback callback) |
void |
exec(Param[] params,
AsyncHttpPaginatedResponse.Callback callback) |
AsyncHttpPaginatedResponse |
handleResponse(HttpCore.Response response,
ErrorInfo error) |
public AsyncHttpPaginatedQuery(Http http, java.lang.String method, java.lang.String path, Param[] headers, Param[] params, HttpCore.RequestBody requestBody)
public void exec(AsyncHttpPaginatedResponse.Callback callback)
public void exec(Param[] params, AsyncHttpPaginatedResponse.Callback callback)
public AsyncHttpPaginatedResponse handleResponse(HttpCore.Response response, ErrorInfo error)
handleResponse in interface HttpCore.ResponseHandler<AsyncHttpPaginatedResponse>