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 queryboolean
boolean
hasFirst()
boolean
hasNext()
boolean
isLast()
com.google.gson.JsonElement[]
items()
Contains a page of results; for example, an array ofMessage
orPresenceMessage
objects for a channel history request.next()
-
Method Details
-
items
public com.google.gson.JsonElement[] items()Description copied from class:HttpPaginatedResponse
Contains a page of results; for example, an array ofMessage
orPresenceMessage
objects for a channel history request.Spec: HP3
- Specified by:
-
items
in classHttpPaginatedResponse
-
first
Description copied from class:HttpPaginatedResponse
Perform the given relative query- Specified by:
-
first
in classHttpPaginatedResponse
- Throws:
AblyException
-
current
- Specified by:
-
current
in classHttpPaginatedResponse
- Throws:
AblyException
-
next
- Specified by:
-
next
in classHttpPaginatedResponse
- Throws:
AblyException
-
hasFirst
public boolean hasFirst()- Specified by:
-
hasFirst
in classHttpPaginatedResponse
-
hasCurrent
public boolean hasCurrent()- Specified by:
-
hasCurrent
in classHttpPaginatedResponse
-
hasNext
public boolean hasNext()- Specified by:
-
hasNext
in classHttpPaginatedResponse
-
isLast
public boolean isLast()- Specified by:
-
isLast
in classHttpPaginatedResponse
-