Interface FullClientRequest<T extends ClientRequest<T>>

Type Parameters:
T - type of the implementation, to support fluent API
All Superinterfaces:
ClientRequest<T>
All Known Implementing Classes:
ClientRequestBase, HttpClientRequest

public interface FullClientRequest<T extends ClientRequest<T>> extends ClientRequest<T>
Client request with getters for all configurable options, used for integration with HTTP version implementations.
  • Method Details

    • pathParams

      Map<String,String> pathParams()
      Replace a placeholder in URI with an actual value.
      Returns:
      a map of path parameters
    • method

      Method method()
      HTTP method of this request.
      Returns:
      method
    • uri

      ClientUri uri()
      URI of this request.
      Returns:
      client URI
    • properties

      Map<String,String> properties()
      Configured properties.
      Returns:
      properties
    • requestId

      String requestId()
      Request ID.
      Returns:
      id of this request
    • connection

      Optional<ClientConnection> connection()
      Possible explicit connection to use (such as when using a proxy).
      Returns:
      client connection if explicitly defined
    • readTimeout

      Duration readTimeout()
      Read timeout.
      Returns:
      read timeout of this request
    • readContinueTimeout

      Duration readContinueTimeout()
      Read 100-Continue timeout.
      Returns:
      read 100-Continue timeout of this request
    • tls

      Tls tls()
      TLS configuration (may be disabled - e.g. use plaintext).
      Returns:
      TLS configuration
    • proxy

      Proxy proxy()
      Proxy configuration (may be no-proxy).
      Returns:
      proxy
    • keepAlive

      boolean keepAlive()
      Whether to use keep-alive connection (if relevant for the used HTTP version).
      Returns:
      whether to use keep alive
    • skipUriEncoding

      boolean skipUriEncoding()
      Whether to skip URI encoding.
      Returns:
      whether to skip encoding