Package com.enterprisedt.net.ftp
Class ProxyParameters
java.lang.Object
com.enterprisedt.net.ftp.ProxyParameters
Holds parameters required to set up HTTP or SOCKS proxies
- Version:
- $Revision$
- Author:
- Bruce Blackshaw
-
Constructor Summary
ConstructorsConstructorDescriptionProxyParameters(String host, int port, String username, String password) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the proxy hostGet the proxy passwordintGet the proxy portGet the proxy username
-
Constructor Details
-
ProxyParameters
Constructor- Parameters:
host- proxy hostport- proxy portusername- proxy usernamepassword- proxy password
-
-
Method Details
-
getProxyHost
Get the proxy host- Returns:
- host name
-
getProxyPort
public int getProxyPort()Get the proxy port- Returns:
- port number
-
getProxyPassword
Get the proxy password- Returns:
- password
-
getProxyUsername
Get the proxy username- Returns:
- username
-