|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindtree.techworks.insight.download.ProxyInfo
public class ProxyInfo
ProxyInfo is a data object that holds information about proxy
related parameters.
| Nested Class Summary | |
|---|---|
class |
ProxyInfo.ProtocolProxyInfo
Contains information about a particular proxy host for a protocol. |
| Constructor Summary | |
|---|---|
ProxyInfo()
|
|
| Method Summary | |
|---|---|
ProxyInfo.ProtocolProxyInfo |
getFtpProxyInfo()
Gets the FTP Proxy information |
ProxyInfo.ProtocolProxyInfo |
getHttpProxyInfo()
Gets the HTTP Proxy information |
java.net.PasswordAuthentication |
getPasswordInformation()
|
ProxyInfo.ProtocolProxyInfo |
getSocksProxyInfo()
Gets the SOCKS Proxy information |
boolean |
isAuthenticationRequired()
|
void |
setAuthenticationRequired(boolean isAuthenticationRequired)
|
void |
setFtpProxyInfo(java.lang.String host,
int port)
Sets the FTP Proxy information. |
void |
setHttpProxyInfo(java.lang.String host,
int port)
Sets the HTTP Proxy information. |
void |
setPasswordInformation(java.lang.String userName,
java.lang.String password)
|
void |
setSocksProxyInfo(java.lang.String host,
int port)
Sets the SOCKS Proxy information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyInfo()
| Method Detail |
|---|
public void setHttpProxyInfo(java.lang.String host,
int port)
host - HTTP Proxy hostport - HTTP Proxy portpublic ProxyInfo.ProtocolProxyInfo getHttpProxyInfo()
public void setFtpProxyInfo(java.lang.String host,
int port)
host - FTP Proxy hostport - FTP Proxy portpublic ProxyInfo.ProtocolProxyInfo getFtpProxyInfo()
public void setSocksProxyInfo(java.lang.String host,
int port)
host - SOCKS Proxy hostport - SOCKS Proxy portpublic ProxyInfo.ProtocolProxyInfo getSocksProxyInfo()
public boolean isAuthenticationRequired()
public void setAuthenticationRequired(boolean isAuthenticationRequired)
isAuthenticationRequired - The isAuthenticationRequired to set.public java.net.PasswordAuthentication getPasswordInformation()
public void setPasswordInformation(java.lang.String userName,
java.lang.String password)
userName - The username to set.password - The password to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||