org.apache.camel.component.http
Class BasicAuthenticationHttpClientConfigurer
java.lang.Object
org.apache.camel.component.http.BasicAuthenticationHttpClientConfigurer
- All Implemented Interfaces:
- HttpClientConfigurer
public class BasicAuthenticationHttpClientConfigurer
- extends Object
- implements HttpClientConfigurer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicAuthenticationHttpClientConfigurer
public BasicAuthenticationHttpClientConfigurer(boolean proxy,
String user,
String pwd)
configureHttpClient
public void configureHttpClient(org.apache.commons.httpclient.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
isProxy
public boolean isProxy()
getUsername
public String getUsername()
getPassword
public String getPassword()
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.