Interface ClientOptionsProvider.HttpClientOptions

All Superinterfaces:
ClientOptionsProvider.ClientOptions, HttpLoggingOptionsProvider
All Known Implementing Classes:
HttpClientProperties
Enclosing interface:
ClientOptionsProvider

public static interface ClientOptionsProvider.HttpClientOptions extends ClientOptionsProvider.ClientOptions, HttpLoggingOptionsProvider
Interface to be implemented by classes that wish to describe a http based client sdk.
  • Method Details

    • getWriteTimeout

      Duration getWriteTimeout()
      Get the http client write timeout.
      Returns:
      the http client write timeout.
    • getResponseTimeout

      Duration getResponseTimeout()
      Get the http client response timeout.
      Returns:
      the http client response timeout.
    • getReadTimeout

      Duration getReadTimeout()
      Get the http client read timeout.
      Returns:
      the http client read timeout.
    • getConnectTimeout

      Duration getConnectTimeout()
      Get the http client connect timeout.
      Returns:
      the http client connect timeout.
    • getMaximumConnectionPoolSize

      Integer getMaximumConnectionPoolSize()
      Get the maximum connection pool size for http client.
      Returns:
      the maximum connection pool size
    • getConnectionIdleTimeout

      Duration getConnectionIdleTimeout()
      Get the connection idle timeout for http client.
      Returns:
      the connection idle timeout
    • getHeaders

      List<HeaderProperties> getHeaders()
      Get header properties list for client header.
      Returns:
      header properties list.