ClientHttpRequestFactorySettings
Settings that can be applied when creating a ClientHttpRequestFactory.
Author
Andy Wilkinson
Phillip Webb
Scott Frederick
Since
3.4.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: ClientHttpRequestFactorySettings.Redirects, connectTimeout: Duration, readTimeout: Duration, sslBundle: SslBundle)
Functions
Link copied to clipboard
Use defaults for the ClientHttpRequestFactory which can differ depending on the implementation.
Link copied to clipboard
Return a new ClientHttpRequestFactorySettings using defaults for all settings other than the provided SSL bundle.
Link copied to clipboard
Return a new ClientHttpRequestFactorySettings instance with an updated connect timeout setting.
Link copied to clipboard
Return a new ClientHttpRequestFactorySettings instance with an updated read timeout setting.
Link copied to clipboard
open fun withRedirects(redirects: ClientHttpRequestFactorySettings.Redirects): ClientHttpRequestFactorySettings
Return a new ClientHttpRequestFactorySettings instance with an updated redirect setting.
Link copied to clipboard
Return a new ClientHttpRequestFactorySettings instance with an updated SSL bundle setting.
Link copied to clipboard
open fun withTimeouts(connectTimeout: Duration, readTimeout: Duration): ClientHttpRequestFactorySettings
Return a new ClientHttpRequestFactorySettings instance with an updated connect and read timeout setting.