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.
@FunctionalInterface public interface HttpClientBuilderConfigurator
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 Modifier and Type Method Description org.apache.http.impl.client.HttpClientBuilder
configure(org.apache.http.impl.client.HttpClientBuilder builder)
Configure theHttpClientBuilder
.
-