org.apache.camel.component.http4
Class ProxyHttpClientConfigurer

java.lang.Object
  extended by org.apache.camel.component.http4.ProxyHttpClientConfigurer
All Implemented Interfaces:
HttpClientConfigurer

public class ProxyHttpClientConfigurer
extends Object
implements HttpClientConfigurer

Strategy for configuring the HttpClient with a proxy


Constructor Summary
ProxyHttpClientConfigurer(String host, Integer port, String scheme)
           
ProxyHttpClientConfigurer(String host, Integer port, String scheme, String username, String password, String domain, String ntHost)
           
 
Method Summary
 void configureHttpClient(org.apache.http.client.HttpClient client)
          Configure the HttpClient such as setting the authentication or proxying details
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

configureHttpClient

public void configureHttpClient(org.apache.http.client.HttpClient client)
Description copied from interface: HttpClientConfigurer
Configure the HttpClient such as setting the authentication or proxying details

Specified by:
configureHttpClient in interface HttpClientConfigurer
Parameters:
client - the client


Apache CAMEL