Class HttpPaginatedResponse

java.lang.Object
io.ably.lib.types.HttpPaginatedResponse
Direct Known Subclasses:
HttpPaginatedQuery.HttpPaginatedResult

public abstract class HttpPaginatedResponse extends Object
A 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 Details

    • success

      public boolean success
      Whether statusCode indicates success. This is equivalent to 200 <= statusCode < 300.

      Spec: HP5

    • statusCode

      public int statusCode
      The HTTP status code of the response.

      Spec: HP4

    • errorCode

      public int errorCode
      The error code if the X-Ably-Errorcode HTTP header is sent in the response.

      Spec: HP6

    • errorMessage

      public String errorMessage
      The error message if the X-Ably-Errormessage HTTP header is sent in the response.

      Spec: HP7

    • headers

      public Param[] headers
      The headers of the response.

      Spec: HP8

  • Constructor Details

    • HttpPaginatedResponse

      public HttpPaginatedResponse()
  • Method Details