Interface Response<T>

    • Method Detail

      • statusCode

        int statusCode()
        Get the HTTP response status code.
        Returns:
        the status code of the HTTP response.
      • headers

        HttpHeaders headers()
        Get the headers from the HTTP response.
        Returns:
        an HttpHeaders instance containing the HTTP response headers.
      • request

        HttpRequest request()
        Get the HTTP request which resulted in this response.
        Returns:
        the HTTP request.
      • value

        T value()
        Returns:
        the deserialized value of the HTTP response.