Package org.apache.camel.component.http
Class DefaultAuthenticationHttpClientConfigurer
java.lang.Object
org.apache.camel.component.http.DefaultAuthenticationHttpClientConfigurer
- All Implemented Interfaces:
HttpClientConfigurer
public class DefaultAuthenticationHttpClientConfigurer
extends Object
implements HttpClientConfigurer
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAuthenticationHttpClientConfigurer
(String user, String pwd, String domain, String host, String bearerToken, 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
-
DefaultAuthenticationHttpClientConfigurer
-
-
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
-