Package io.ably.lib.http
Class HttpPaginatedQuery.HttpPaginatedResult
java.lang.Object
io.ably.lib.types.HttpPaginatedResponse
io.ably.lib.http.HttpPaginatedQuery.HttpPaginatedResult
- Enclosing class:
- HttpPaginatedQuery
-
Field Summary
Fields inherited from class io.ably.lib.types.HttpPaginatedResponse
errorCode, errorMessage, headers, statusCode, success -
Method Summary
Modifier and TypeMethodDescriptioncurrent()first()Perform the given relative querybooleanbooleanhasFirst()booleanhasNext()booleanisLast()com.google.gson.JsonElement[]items()Contains a page of results; for example, an array ofMessageorPresenceMessageobjects for a channel history request.next()
-
Method Details
-
items
public com.google.gson.JsonElement[] items()Description copied from class:HttpPaginatedResponseContains a page of results; for example, an array ofMessageorPresenceMessageobjects for a channel history request.Spec: HP3
- Specified by:
-
itemsin classHttpPaginatedResponse
-
first
Description copied from class:HttpPaginatedResponsePerform the given relative query- Specified by:
-
firstin classHttpPaginatedResponse - Throws:
AblyException
-
current
- Specified by:
-
currentin classHttpPaginatedResponse - Throws:
AblyException
-
next
- Specified by:
-
nextin classHttpPaginatedResponse - Throws:
AblyException
-
hasFirst
public boolean hasFirst()- Specified by:
-
hasFirstin classHttpPaginatedResponse
-
hasCurrent
public boolean hasCurrent()- Specified by:
-
hasCurrentin classHttpPaginatedResponse
-
hasNext
public boolean hasNext()- Specified by:
-
hasNextin classHttpPaginatedResponse
-
isLast
public boolean isLast()- Specified by:
-
isLastin classHttpPaginatedResponse
-