Uses of Record Class
org.springframework.boot.http.client.ClientHttpRequestFactorySettings
Package
Description
Client-side HTTP support classes.
Web client test utilities.
Web client utilities.
Web Services client utilities.
-
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.http.client
Modifier and TypeMethodDescriptionClientHttpRequestFactorySettings.defaults()
Use defaults for theClientHttpRequestFactory
which can differ depending on the implementation.ClientHttpRequestFactorySettings.ofSslBundle
(SslBundle sslBundle) Return a newClientHttpRequestFactorySettings
using defaults for all settings other than the provided SSL bundle.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.withRedirects
(ClientHttpRequestFactorySettings.Redirects redirects) Return a newClientHttpRequestFactorySettings
instance with an updated redirect setting.ClientHttpRequestFactorySettings.withSslBundle
(SslBundle sslBundle) Return a newClientHttpRequestFactorySettings
instance with an updated SSL bundle setting.Modifier and TypeMethodDescriptionClientHttpRequestFactoryBuilder.build
(ClientHttpRequestFactorySettings settings) Build a fully configuredClientHttpRequestFactory
, applying the givensettings
if they are provided.protected HttpComponentsClientHttpRequestFactory
HttpComponentsClientHttpRequestFactoryBuilder.createClientHttpRequestFactory
(ClientHttpRequestFactorySettings settings) protected JdkClientHttpRequestFactory
JdkClientHttpRequestFactoryBuilder.createClientHttpRequestFactory
(ClientHttpRequestFactorySettings settings) protected JettyClientHttpRequestFactory
JettyClientHttpRequestFactoryBuilder.createClientHttpRequestFactory
(ClientHttpRequestFactorySettings settings) protected ReactorClientHttpRequestFactory
ReactorClientHttpRequestFactoryBuilder.createClientHttpRequestFactory
(ClientHttpRequestFactorySettings settings) protected SimpleClientHttpRequestFactory
SimpleClientHttpRequestFactoryBuilder.createClientHttpRequestFactory
(ClientHttpRequestFactorySettings settings) -
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.test.web.client
ModifierConstructorDescriptionCustomHttpComponentsClientHttpRequestFactory
(TestRestTemplate.HttpClientOption[] httpClientOptions, ClientHttpRequestFactorySettings settings) Create a newTestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
instance. -
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.web.client
Modifier and TypeMethodDescriptionRestTemplateBuilder.requestFactorySettings
(ClientHttpRequestFactorySettings requestFactorySettings) Sets theClientHttpRequestFactorySettings
. -
Uses of ClientHttpRequestFactorySettings in org.springframework.boot.webservices.client
Modifier and TypeMethodDescriptionWebServiceMessageSenderFactory.http
(ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder, ClientHttpRequestFactorySettings requestFactorySettings) Returns a factory that will create aClientHttpRequestMessageSender
backed by aClientHttpRequestFactory
created from the givenClientHttpRequestFactoryBuilder
.WebServiceMessageSenderFactory.http
(ClientHttpRequestFactorySettings requestFactorySettings) Returns a factory that will create aClientHttpRequestMessageSender
backed by a detectedClientHttpRequestFactory
.Modifier and TypeMethodDescriptionHttpWebServiceMessageSenderBuilder.requestFactory
(Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) Deprecated, for removal: This API element is subject to removal in a future version.Set theFunction
ofClientHttpRequestFactorySettings
toClientHttpRequestFactory
that should be called to create the HTTP-basedWebServiceMessageSender
.