Record Class ClientHttpRequestFactorySettings

java.lang.Object
java.lang.Record
org.springframework.boot.web.client.ClientHttpRequestFactorySettings
Record Components:
connectTimeout - the connect timeout
readTimeout - the read timeout
bufferRequestBody - if request body buffering is used

public record ClientHttpRequestFactorySettings(Duration connectTimeout, Duration readTimeout, Boolean bufferRequestBody) extends Record
Settings that can be applied when creating a ClientHttpRequestFactory.
Since:
3.0.0
Author:
Andy Wilkinson, Phillip Webb
See Also:
  • Field Details

  • Constructor Details

    • ClientHttpRequestFactorySettings

      public ClientHttpRequestFactorySettings(Duration connectTimeout, Duration readTimeout, Boolean bufferRequestBody)
      Creates an instance of a ClientHttpRequestFactorySettings record class.
      Parameters:
      connectTimeout - the value for the connectTimeout record component
      readTimeout - the value for the readTimeout record component
      bufferRequestBody - the value for the bufferRequestBody record component
  • Method Details