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) Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 as support for buffering has been removed in Spring Framework 6.1ClientHttpRequestFactorySettings.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.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 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.Method parameters in org.springframework.boot.web.client with type arguments of type ClientHttpRequestFactorySettingsModifier 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
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
.