Package org.apache.camel.component.http
Class ProxyHttpClientConfigurer
java.lang.Object
org.apache.camel.component.http.ProxyHttpClientConfigurer
- All Implemented Interfaces:
HttpClientConfigurer
Strategy for configuring the HttpClient with a proxy
-
Constructor Summary
ConstructorsConstructorDescriptionProxyHttpClientConfigurer
(String host, Integer port, String scheme) ProxyHttpClientConfigurer
(String host, Integer port, String scheme, String username, String password, String domain, String ntHost, HttpCredentialsHelper credentialsHelper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureHttpClient
(org.apache.hc.client5.http.impl.classic.HttpClientBuilder clientBuilder) Configure the HttpClient such as setting the authentication or proxying details
-
Constructor Details
-
ProxyHttpClientConfigurer
-
ProxyHttpClientConfigurer
-
-
Method Details
-
configureHttpClient
public void configureHttpClient(org.apache.hc.client5.http.impl.classic.HttpClientBuilder clientBuilder) Description copied from interface:HttpClientConfigurer
Configure the HttpClient such as setting the authentication or proxying details- Specified by:
configureHttpClient
in interfaceHttpClientConfigurer
- Parameters:
clientBuilder
- the client
-