Interface Http1ClientResponse

All Superinterfaces:
AutoCloseable, HttpClientResponse

public interface Http1ClientResponse extends HttpClientResponse
Client response for HTTP/1.1. client.
  • Method Details

    • protocolId

      default String protocolId()
      Protocol selected by WebClient for this response.

      The default implementation returns http/1.1.

      Returns:
      protocol identifier, such as http/1.1, h2, or h3
    • 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