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()Get the contents as an array of component typeHttpPaginatedResponsenext()
-
-
-
Method Detail
-
items
public com.google.gson.JsonElement[] items()
Description copied from class:HttpPaginatedResponseGet the contents as an array of component type- 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
-
-