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)

Types

Link copied to clipboard
Redirect strategies.

Functions

Link copied to clipboard
Use defaults for the ClientHttpRequestFactory which can differ depending on the implementation.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
Return a new ClientHttpRequestFactorySettings using defaults for all settings other than the provided SSL bundle.
Link copied to clipboard
abstract fun toString(): String
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
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.