org.apache.servicemix.http
Class ProxyParameters
java.lang.Object
org.apache.servicemix.http.ProxyParameters
public class ProxyParameters
- extends java.lang.Object
This class contains all parameters needed to send http requests through a proxy
- Author:
- Fabrice Dewasmes
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxyHost
protected java.lang.String proxyHost
proxyPort
protected int proxyPort
proxyCredentials
protected BasicAuthCredentials proxyCredentials
ProxyParameters
public ProxyParameters()
getProxyCredentials
public BasicAuthCredentials getProxyCredentials()
- Returns:
- Returns the proxyCredentials.
setProxyCredentials
public void setProxyCredentials(BasicAuthCredentials proxyCredentials)
- Sets the authentication data used for the proxy using basic authentication.
- Parameters:
proxyCredentials - the BasicAuthCredentials that
will be used for authentication
getProxyHost
public java.lang.String getProxyHost()
- Proxy Host through which every http call are emitted
- Returns:
- Returns the proxyHost.
setProxyHost
public void setProxyHost(java.lang.String proxyHost)
- Parameters:
proxyHost - The proxy host name to set.
getProxyPort
public int getProxyPort()
- Proxy Port for the proxy host specified
- Returns:
- Returns the proxyPort.
setProxyPort
public void setProxyPort(int proxyPort)
- Parameters:
proxyPort - The ProxyPort to set.
Copyright © 2005-2012 FuseSource. All Rights Reserved.