org.apache.servicemix.http
Class ProxyParameters

java.lang.Object
  extended by 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

Field Summary
protected  BasicAuthCredentials proxyCredentials
           
protected  java.lang.String proxyHost
           
protected  int proxyPort
           
 
Constructor Summary
ProxyParameters()
           
 
Method Summary
 BasicAuthCredentials getProxyCredentials()
           
 java.lang.String getProxyHost()
          Proxy Host through which every http call are emitted
 int getProxyPort()
          Proxy Port for the proxy host specified
 void setProxyCredentials(BasicAuthCredentials proxyCredentials)
          Sets the authentication data used for the proxy using basic authentication.
 void setProxyHost(java.lang.String proxyHost)
           
 void setProxyPort(int proxyPort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxyHost

protected java.lang.String proxyHost

proxyPort

protected int proxyPort

proxyCredentials

protected BasicAuthCredentials proxyCredentials
Constructor Detail

ProxyParameters

public ProxyParameters()
Method Detail

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.