Uses of Record Class
org.springframework.boot.web.client.ClientHttpRequestFactorySettings
Packages that use ClientHttpRequestFactorySettings
Package
Description
Web client test utilities.
Web client utilities.
Web Services client utilities.
-
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.test.web.client
Constructors in org.springframework.boot.test.web.client with parameters of type ClientHttpRequestFactorySettingsModifierConstructorDescriptionCustomHttpComponentsClientHttpRequestFactory
(TestRestTemplate.HttpClientOption[] httpClientOptions, ClientHttpRequestFactorySettings settings) -
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.web.client
Fields in org.springframework.boot.web.client declared as ClientHttpRequestFactorySettingsModifier and TypeFieldDescriptionstatic final ClientHttpRequestFactorySettings
ClientHttpRequestFactorySettings.DEFAULTS
Use defaults for theClientHttpRequestFactory
which can differ depending on the implementation.Methods in org.springframework.boot.web.client that return ClientHttpRequestFactorySettingsModifier 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.Methods in org.springframework.boot.web.client with parameters of type ClientHttpRequestFactorySettingsModifier and TypeMethodDescriptionstatic <T extends ClientHttpRequestFactory>
TClientHttpRequestFactories.get
(Class<T> requestFactoryType, ClientHttpRequestFactorySettings settings) Return a newClientHttpRequestFactory
of the given type, 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 a newClientHttpRequestFactory
instance using the most appropriate implementation.Method parameters in org.springframework.boot.web.client with type arguments of type ClientHttpRequestFactorySettingsModifier and TypeMethodDescriptionRestTemplateBuilder.requestFactory
(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) Set theClientHttpRequestFactorySupplier
that should be called each time weRestTemplateBuilder.build()
a newRestTemplate
instance. -
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.webservices.client
Method parameters in org.springframework.boot.webservices.client with type arguments of type ClientHttpRequestFactorySettingsModifier and TypeMethodDescriptionHttpWebServiceMessageSenderBuilder.requestFactory
(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) Set theFunction
ofClientHttpRequestFactorySettings
toClientHttpRequestFactory
that should be called to create the HTTP-basedWebServiceMessageSender
.