Class ProxyHttpClientConfigurer

java.lang.Object
org.apache.camel.component.http.ProxyHttpClientConfigurer
All Implemented Interfaces:
HttpClientConfigurer

public class ProxyHttpClientConfigurer extends Object implements HttpClientConfigurer
Strategy for configuring the HttpClient with a proxy
  • Constructor Details

    • ProxyHttpClientConfigurer

      public ProxyHttpClientConfigurer(String host, Integer port, String scheme)
    • ProxyHttpClientConfigurer

      public ProxyHttpClientConfigurer(String host, Integer port, String scheme, String username, String password, String domain, String ntHost, org.apache.camel.component.http.HttpCredentialsHelper credentialsHelper)
  • 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 interface HttpClientConfigurer
      Parameters:
      clientBuilder - the client