Uses of Record Class
org.springframework.boot.web.client.ClientHttpRequestFactorySettings
Package
Description
Web client test utilities.
Web client utilities.
Web Services client utilities.
-
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.test.web.client
ModifierConstructorDescriptionCustomHttpComponentsClientHttpRequestFactory
(TestRestTemplate.HttpClientOption[] httpClientOptions, ClientHttpRequestFactorySettings settings) -
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.web.client
Modifier and TypeFieldDescriptionstatic final ClientHttpRequestFactorySettings
ClientHttpRequestFactorySettings.DEFAULTS
Use defaults for theClientHttpRequestFactory
which can differ depending on the implementation.Modifier and TypeMethodDescriptionClientHttpRequestFactorySettings.withBufferRequestBody
(Boolean bufferRequestBody) Return a newClientHttpRequestFactorySettings
instance with an updated buffer request body setting.ClientHttpRequestFactorySettings.withConnectTimeout
(Duration connectTimeout) Return a newClientHttpRequestFactorySettings
instance with an updated connect timeout setting .ClientHttpRequestFactorySettings.withReadTimeout
(Duration readTimeout) Return a newClientHttpRequestFactorySettings
instance with an updated read timeout setting.ClientHttpRequestFactorySettings.withSslBundle
(SslBundle sslBundle) Return a newClientHttpRequestFactorySettings
instance with an updated SSL bundle setting.Modifier and TypeMethodDescriptionstatic <T extends ClientHttpRequestFactory>
TClientHttpRequestFactories.get
(Class<T> requestFactoryType, ClientHttpRequestFactorySettings settings) Return a newClientHttpRequestFactory
of the givenrequestFactoryType
, applyingClientHttpRequestFactorySettings
using reflection if necessary.static <T extends ClientHttpRequestFactory>
TClientHttpRequestFactories.get
(Supplier<T> requestFactorySupplier, ClientHttpRequestFactorySettings settings) Return a newClientHttpRequestFactory
from the given supplier, applyingClientHttpRequestFactorySettings
using reflection.static ClientHttpRequestFactory
ClientHttpRequestFactories.get
(ClientHttpRequestFactorySettings settings) Return aClientHttpRequestFactory
implementation with the givensettings
applied.Modifier and TypeMethodDescriptionRestTemplateBuilder.requestFactory
(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) Set the request factory function that should be called to provide aClientHttpRequestFactory
each time weRestTemplateBuilder.build()
a newRestTemplate
instance. -
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.webservices.client
Modifier and TypeMethodDescriptionHttpWebServiceMessageSenderBuilder.requestFactory
(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) Set theFunction
ofClientHttpRequestFactorySettings
toClientHttpRequestFactory
that should be called to create the HTTP-basedWebServiceMessageSender
.