ClientHttpRequestFactorySettings

constructor(connectTimeout: Duration, readTimeout: Duration, bufferRequestBody: Boolean)

Deprecated (for removal)

Since version 3.2.0

Create a new ClientHttpRequestFactorySettings instance.

Deprecated

since 3.2.0 for removal in 3.4.0 as support for buffering has beenremoved in Spring Framework 6.1

Parameters

connectTimeout

the connection timeout

readTimeout

the read timeout

bufferRequestBody

if request body buffering is used


constructor(connectTimeout: Duration, readTimeout: Duration, bufferRequestBody: Boolean, sslBundle: SslBundle)

Deprecated (for removal)

Since version 3.2.0

Create a new ClientHttpRequestFactorySettings instance.

Since

3.1.0

Deprecated

since 3.2.0 for removal in 3.4.0 as support for buffering has beenremoved in Spring Framework 6.1

Parameters

connectTimeout

the connection timeout

readTimeout

the read timeout

bufferRequestBody

if request body buffering is used

sslBundle

the ssl bundle