Uses of Class
org.springframework.boot.http.client.HttpComponentsClientHttpRequestFactoryBuilder
-
Uses of HttpComponentsClientHttpRequestFactoryBuilder in org.springframework.boot.http.client
Modifier and TypeMethodDescriptionClientHttpRequestFactoryBuilder.httpComponents()
Return aHttpComponentsClientHttpRequestFactoryBuilder
that can be used to build aHttpComponentsClientHttpRequestFactory
.HttpComponentsClientHttpRequestFactoryBuilder.withConnectionManagerCustomizer
(Consumer<org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManagerBuilder> connectionManagerCustomizer) Return a newHttpComponentsClientHttpRequestFactoryBuilder
that applies additional customization to the underlyingPoolingHttpClientConnectionManagerBuilder
.HttpComponentsClientHttpRequestFactoryBuilder.withCustomizer
(Consumer<HttpComponentsClientHttpRequestFactory> customizer) HttpComponentsClientHttpRequestFactoryBuilder.withCustomizers
(Collection<Consumer<HttpComponentsClientHttpRequestFactory>> customizers) HttpComponentsClientHttpRequestFactoryBuilder.withDefaultRequestConfigCustomizer
(Consumer<org.apache.hc.client5.http.config.RequestConfig.Builder> defaultRequestConfigCustomizer) Return a newHttpComponentsClientHttpRequestFactoryBuilder
that applies additional customization to the underlyingRequestConfig.Builder
used for default requests.HttpComponentsClientHttpRequestFactoryBuilder.withHttpClientCustomizer
(Consumer<org.apache.hc.client5.http.impl.classic.HttpClientBuilder> httpClientCustomizer) Return a newHttpComponentsClientHttpRequestFactoryBuilder
that applies additional customization to the underlyingHttpClientBuilder
.HttpComponentsClientHttpRequestFactoryBuilder.withSocketConfigCustomizer
(Consumer<org.apache.hc.core5.http.io.SocketConfig.Builder> socketConfigCustomizer) Return a newHttpComponentsClientHttpRequestFactoryBuilder
that applies additional customization to the underlyingSocketConfig.Builder
.HttpComponentsClientHttpRequestFactoryBuilder.withTlsSocketStrategyFactory
(Function<SslBundle, org.apache.hc.client5.http.ssl.TlsSocketStrategy> tlsSocketStrategyFactory) Return a newHttpComponentsClientHttpRequestFactoryBuilder
with a replacementTlsSocketStrategy
factory.