ClientHttpConnectorSettings
Settings that can be applied when creating a ClientHttpConnector.
Author
Phillip Webb
Since
3.5.0
Parameters
redirects
the follow redirect strategy to use or null to redirect whenever the underlying library allows it
connectTimeout
the connect timeout
readTimeout
the read timeout
sslBundle
the SSL bundle providing SSL configuration
See also
Constructors
Link copied to clipboard
constructor(redirects: HttpRedirects, connectTimeout: Duration, readTimeout: Duration, sslBundle: SslBundle)
Functions
Link copied to clipboard
Use defaults for the ClientHttpConnector which can differ depending on the implementation.
Link copied to clipboard
Return a new ClientHttpConnectorSettings using defaults for all settings other than the provided SSL bundle.
Link copied to clipboard
Return a new ClientHttpConnectorSettings instance with an updated connect timeout setting.
Link copied to clipboard
Return a new ClientHttpConnectorSettings instance with an updated read timeout setting.
Link copied to clipboard
Return a new ClientHttpConnectorSettings instance with an updated redirect setting.
Link copied to clipboard
Return a new ClientHttpConnectorSettings instance with an updated SSL bundle setting.
Link copied to clipboard
Return a new ClientHttpConnectorSettings instance with an updated connect and read timeout setting.