com.enterprisedt.util.proxy
Class ProxySettings

java.lang.Object
  extended by com.enterprisedt.util.proxy.ProxySettings

public class ProxySettings
extends java.lang.Object

Settings required for using a proxy

Version:
$Revision: 1.3 $
Author:
Bruce Blackshaw

Constructor Summary
ProxySettings()
           
 
Method Summary
 java.lang.String getProxyAddress()
          Address of the proxy
 java.lang.String getProxyPassword()
          Get the proxy password
 int getProxyPort()
          Get the proxy port
 ProxyType getProxyType()
          Get the proxy type
 java.lang.String getProxyUserName()
          Get the proxy username
 java.lang.String getPublicProxyAddress()
          Get the public proxy address to be used if the proxy does not return one.
 void setProxyAddress(java.lang.String proxyAddress)
          Set the address of the proxy
 void setProxyPassword(java.lang.String password)
          Set the proxy password
 void setProxyPort(int proxyPort)
          Set the proxy prot
 void setProxyType(ProxyType proxyType)
          Set the proxy type
 void setProxyUserName(java.lang.String userName)
          Set the proxy username
 void setPublicProxyAddress(java.lang.String publicProxyAddress)
          Set the public proxy address to be used if the proxy does not return one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxySettings

public ProxySettings()
Method Detail

getProxyAddress

public java.lang.String getProxyAddress()
Address of the proxy

Returns:
string

setProxyAddress

public void setProxyAddress(java.lang.String proxyAddress)
Set the address of the proxy

Parameters:
proxyAddress -

getPublicProxyAddress

public java.lang.String getPublicProxyAddress()
Get the public proxy address to be used if the proxy does not return one.


setPublicProxyAddress

public void setPublicProxyAddress(java.lang.String publicProxyAddress)
Set the public proxy address to be used if the proxy does not return one. This might be necessary for FTP active transfers, where the FTP server must connect back to the proxy.

Parameters:
publicProxyAddress - IP address or hostname

getProxyPort

public int getProxyPort()
Get the proxy port

Returns:
int

setProxyPort

public void setProxyPort(int proxyPort)
Set the proxy prot

Parameters:
proxyPort -

getProxyUserName

public java.lang.String getProxyUserName()
Get the proxy username

Returns:
string

setProxyUserName

public void setProxyUserName(java.lang.String userName)
Set the proxy username

Parameters:
userName -

getProxyPassword

public java.lang.String getProxyPassword()
Get the proxy password

Returns:

setProxyPassword

public void setProxyPassword(java.lang.String password)
Set the proxy password

Parameters:
password -

getProxyType

public ProxyType getProxyType()
Get the proxy type

Returns:

setProxyType

public void setProxyType(ProxyType proxyType)
Set the proxy type

Parameters:
proxyType -


Copyright © 2001-2009 Enterprise Distributed Technologies Ltd. All Rights Reserved.