Class HttpPaginatedResponse

  • Direct Known Subclasses:
    HttpPaginatedQuery.HttpPaginatedResult

    public abstract class HttpPaginatedResponse
    extends java.lang.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 Detail

      • 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 java.lang.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 Detail

      • HttpPaginatedResponse

        public HttpPaginatedResponse()