Module com.rabbitmq.http.client
Package com.rabbitmq.http.client
Interface HttpClientBuilderConfigurator
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated(since="4.0.0", forRemoval=true) @FunctionalInterface public interface HttpClientBuilderConfigurator
Deprecated, for removal: This API element is subject to removal in a future version.Implementations of this interface can perform post-configuration ofHttpClientBuilder
used byClient
internally. Note thatHttpComponentsRestTemplateConfigurator
will configure all essential settings before invoking the configurator.HttpClientBuilderConfigurator
implementations typically customize request interceptors to set specific headers, proxy-related and TLS-related settings.- See Also:
HttpClientBuilder.addInterceptorFirst(HttpRequestInterceptor)
,HttpClientBuilder.addInterceptorLast(HttpRequestInterceptor)
,HttpClientBuilder.setProxy(HttpHost)
,HttpClientBuilder.setRoutePlanner(HttpRoutePlanner)
,HttpClientBuilder.setSSLContext(SSLContext)
,HttpClientBuilder.setSSLSocketFactory(LayeredConnectionSocketFactory)
,HttpClientBuilder.setSSLHostnameVerifier(HostnameVerifier)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.apache.http.impl.client.HttpClientBuilder
configure(org.apache.http.impl.client.HttpClientBuilder builder)
Deprecated, for removal: This API element is subject to removal in a future version.Configure theHttpClientBuilder
.
-
-
-
Method Detail
-
configure
org.apache.http.impl.client.HttpClientBuilder configure(org.apache.http.impl.client.HttpClientBuilder builder)
Deprecated, for removal: This API element is subject to removal in a future version.Configure theHttpClientBuilder
.- Parameters:
builder
- incoming builder- Returns:
- configured builder, usually same instance as the parameter
-
-