Package io.ably.lib.types
Class AsyncHttpPaginatedResponse
- java.lang.Object
-
- io.ably.lib.types.AsyncHttpPaginatedResponse
-
- Direct Known Subclasses:
AsyncHttpPaginatedQuery.AsyncHttpPaginatedResult
public abstract class AsyncHttpPaginatedResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAsyncHttpPaginatedResponse.CallbackAn interface allowing a client to be notified of the outcome of an asynchronous operation.
-
Field Summary
Fields Modifier and Type Field Description interrorCodejava.lang.StringerrorMessageParam[]headersintstatusCodebooleansuccess
-
Constructor Summary
Constructors Constructor Description AsyncHttpPaginatedResponse()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidcurrent(AsyncHttpPaginatedResponse.Callback callback)abstract voidfirst(AsyncHttpPaginatedResponse.Callback callback)Obtain params required to perform the given relative queryabstract booleanhasCurrent()abstract booleanhasFirst()abstract booleanhasNext()abstract com.google.gson.JsonElement[]items()Get the contents as an array of component typeabstract voidnext(AsyncHttpPaginatedResponse.Callback callback)
-
-
-
Field Detail
-
success
public boolean success
-
statusCode
public int statusCode
-
errorCode
public int errorCode
-
errorMessage
public java.lang.String errorMessage
-
headers
public Param[] headers
-
-
Method Detail
-
items
public abstract com.google.gson.JsonElement[] items()
Get the contents as an array of component type
-
first
public abstract void first(AsyncHttpPaginatedResponse.Callback callback)
Obtain params required to perform the given relative query
-
current
public abstract void current(AsyncHttpPaginatedResponse.Callback callback)
-
next
public abstract void next(AsyncHttpPaginatedResponse.Callback callback)
-
hasFirst
public abstract boolean hasFirst()
-
hasCurrent
public abstract boolean hasCurrent()
-
hasNext
public abstract boolean hasNext()
-
-