Interface HttpResponse

  • All Superinterfaces:
    AutoCloseable

    public interface HttpResponse
    extends AutoCloseable
    Represents an HTTP response message.
    Since:
    4.0.0
    Author:
    Dmytro Nosan
    • Method Detail

      • getUri

        URI getUri()
        Gets the URI of the response.
        Returns:
        the URI of the response
      • getStatus

        int getStatus()
        Gets the HTTP response status.
        Returns:
        the status
      • getHeaders

        HttpHeaders getHeaders()
        Gets the headers of this response.
        Returns:
        a corresponding HttpHeaders object