-
public abstract class HttpPaginatedResponseA superset of PaginatedResult which represents a page of results plus metadata indicating the relative queries available to it. HttpPaginatedResponse additionally carries information about the response to an HTTP request.
-
-
Field Summary
Fields Modifier and Type Field Description public booleansuccesspublic intstatusCodepublic interrorCodepublic StringerrorMessagepublic Array<Param>headers
-
Method Summary
Modifier and Type Method Description abstract Array<JsonElement>items()Contains a page of results; for example,an array of Message or PresenceMessage objects for a channel history request. abstract HttpPaginatedResponsefirst()Perform the given relative query abstract HttpPaginatedResponsecurrent()abstract HttpPaginatedResponsenext()abstract booleanhasFirst()abstract booleanhasCurrent()abstract booleanhasNext()abstract booleanisLast()-
-
Method Detail
-
items
abstract Array<JsonElement> items()
Contains a page of results; for example,an array of Message or PresenceMessage objects for a channel history request.
Spec: HP3
-
first
abstract HttpPaginatedResponse first()
Perform the given relative query
-
current
abstract HttpPaginatedResponse current()
-
next
abstract HttpPaginatedResponse next()
-
hasFirst
abstract boolean hasFirst()
-
hasCurrent
abstract boolean hasCurrent()
-
hasNext
abstract boolean hasNext()
-
isLast
abstract boolean isLast()
-
-
-
-