Package io.ably.lib.http
Class AsyncHttpPaginatedQuery.AsyncHttpPaginatedResult
java.lang.Object
io.ably.lib.types.AsyncHttpPaginatedResponse
io.ably.lib.http.AsyncHttpPaginatedQuery.AsyncHttpPaginatedResult
- Enclosing class:
- AsyncHttpPaginatedQuery
public class AsyncHttpPaginatedQuery.AsyncHttpPaginatedResult extends AsyncHttpPaginatedResponse
A private class encapsulating the result of a single page response
-
Nested Class Summary
Nested classes/interfaces inherited from class io.ably.lib.types.AsyncHttpPaginatedResponse
AsyncHttpPaginatedResponse.Callback -
Field Summary
Fields inherited from class io.ably.lib.types.AsyncHttpPaginatedResponse
errorCode, errorMessage, headers, statusCode, success -
Method Summary
Modifier and Type Method Description voidcurrent(AsyncHttpPaginatedResponse.Callback callback)voidfirst(AsyncHttpPaginatedResponse.Callback callback)Obtain params required to perform the given relative querybooleanhasCurrent()booleanhasFirst()booleanhasNext()com.google.gson.JsonElement[]items()Get the contents as an array of component typevoidnext(AsyncHttpPaginatedResponse.Callback callback)
-
Method Details
-
items
public com.google.gson.JsonElement[] items()Description copied from class:AsyncHttpPaginatedResponseGet the contents as an array of component type- Specified by:
itemsin classAsyncHttpPaginatedResponse
-
first
Description copied from class:AsyncHttpPaginatedResponseObtain params required to perform the given relative query- Specified by:
firstin classAsyncHttpPaginatedResponse
-
current
- Specified by:
currentin classAsyncHttpPaginatedResponse
-
next
- Specified by:
nextin classAsyncHttpPaginatedResponse
-
hasFirst
public boolean hasFirst()- Specified by:
hasFirstin classAsyncHttpPaginatedResponse
-
hasCurrent
public boolean hasCurrent()- Specified by:
hasCurrentin classAsyncHttpPaginatedResponse
-
hasNext
public boolean hasNext()- Specified by:
hasNextin classAsyncHttpPaginatedResponse
-