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
public class HttpPaginatedQuery.HttpPaginatedResult extends HttpPaginatedResponse
-
-
Field Summary
-
Fields inherited from class io.ably.lib.types.HttpPaginatedResponse
errorCode, errorMessage, headers, statusCode, success
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpPaginatedResponsecurrent()HttpPaginatedResponsefirst()Perform the given relative querybooleanhasCurrent()booleanhasFirst()booleanhasNext()booleanisLast()com.google.gson.JsonElement[]items()Contains a page of results; for example, an array ofMessageorPresenceMessageobjects for a channel history request.HttpPaginatedResponsenext()
-
-
-
Method Detail
-
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
public HttpPaginatedResponse first() throws AblyException
Description copied from class:HttpPaginatedResponsePerform the given relative query- Specified by:
firstin classHttpPaginatedResponse- Throws:
AblyException
-
current
public HttpPaginatedResponse current() throws AblyException
- Specified by:
currentin classHttpPaginatedResponse- Throws:
AblyException
-
next
public HttpPaginatedResponse next() throws AblyException
- 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
-
-