com.enterprisedt.net.ftp
Class ProxyParameters

java.lang.Object
  extended by com.enterprisedt.net.ftp.ProxyParameters

public class ProxyParameters
extends java.lang.Object

Holds parameters required to set up HTTP or SOCKS proxies

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Constructor Summary
ProxyParameters(java.lang.String host, int port, java.lang.String username, java.lang.String password)
          Constructor
 
Method Summary
 java.lang.String getProxyHost()
          Get the proxy host
 java.lang.String getProxyPassword()
          Get the proxy password
 int getProxyPort()
          Get the proxy port
 java.lang.String getProxyUsername()
          Get the proxy username
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyParameters

public ProxyParameters(java.lang.String host,
                       int port,
                       java.lang.String username,
                       java.lang.String password)
Constructor

Parameters:
host - proxy host
port - proxy port
username - proxy username
password - proxy password
Method Detail

getProxyHost

public java.lang.String getProxyHost()
Get the proxy host

Returns:
host name

getProxyPort

public int getProxyPort()
Get the proxy port

Returns:
port number

getProxyPassword

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

Returns:
password

getProxyUsername

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

Returns:
username


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