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 Link icon

    • pathParams Link icon

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

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

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

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

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

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

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

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

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

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

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

      boolean skipUriEncoding()
      Whether to skip URI encoding.
      Returns:
      whether to skip encoding
    • sendExpectContinue Link icon

      Optional<Boolean> sendExpectContinue()
      Whether Expect 100-Continue header is sent to verify server availability before sending an entity. Overrides the setting from HttpClientConfigBlueprint.sendExpectContinue().
      Returns:
      Expect 100-Continue value if set