Interface Http2ClientResponse

All Superinterfaces:
AutoCloseable, HttpClientResponse

public interface Http2ClientResponse extends HttpClientResponse
Response of HTTP/2 client.
  • Method Details

    • status

      Status status()
      Response status.
      Returns:
      status
    • headers

      Response headers.
      Returns:
      headers
    • trailers

      Response trailer headers. Blocks until trailers are available.
      Returns:
      trailers
      Throws:
      IllegalStateException - when invoked before entity is requested
    • lastEndpointUri

      ClientUri lastEndpointUri()
      URI of the last request. (after redirection)
      Returns:
      last URI