public class HttpPaginatedQuery.HttpPaginatedResult extends HttpPaginatedResponse
errorCode, errorMessage, headers, statusCode, success| Modifier and Type | Method and Description |
|---|---|
HttpPaginatedResponse |
current() |
HttpPaginatedResponse |
first()
Perform the given relative query
|
boolean |
hasCurrent() |
boolean |
hasFirst() |
boolean |
hasNext() |
boolean |
isLast() |
com.google.gson.JsonElement[] |
items()
Contains a page of results; for example,
an array of
Message or PresenceMessage objects for a channel history request. |
HttpPaginatedResponse |
next() |
public com.google.gson.JsonElement[] items()
HttpPaginatedResponseMessage or PresenceMessage objects for a channel history request.
Spec: HP3
items in class HttpPaginatedResponsepublic HttpPaginatedResponse first() throws AblyException
HttpPaginatedResponsefirst in class HttpPaginatedResponseAblyExceptionpublic HttpPaginatedResponse current() throws AblyException
current in class HttpPaginatedResponseAblyExceptionpublic HttpPaginatedResponse next() throws AblyException
next in class HttpPaginatedResponseAblyExceptionpublic boolean hasFirst()
hasFirst in class HttpPaginatedResponsepublic boolean hasCurrent()
hasCurrent in class HttpPaginatedResponsepublic boolean hasNext()
hasNext in class HttpPaginatedResponsepublic boolean isLast()
isLast in class HttpPaginatedResponse