public class HttpProxyConfiguration extends Object
Constructor and Description |
---|
HttpProxyConfiguration() |
HttpProxyConfiguration(String proxyAddr,
int proxyPort,
String proxyUname,
String userPasswd,
String domain) |
HttpProxyConfiguration(String proxyAddr,
int proxyPort,
String proxyUname,
String userPasswd,
String domain,
String workstation)
Parameterized constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getDomain()
Obtain the proxy domain.
|
String |
getProxyAddr()
Obtain the proxy address.
|
int |
getProxyPort()
Obtain the proxy port.
|
String |
getProxyUName()
Obtain the proxy username.
|
String |
getUserPaaswd()
Deprecated.
|
String |
getUserPasswd()
Obtain the proxy password.
|
String |
getWorkstation()
Obtain the proxy workstation.
|
void |
setDomain(String domain)
Set the proxy domain.
|
void |
setProxyAddr(String proxyAddr)
Set the proxy address.
|
void |
setProxyPort(int proxyPort)
Set the proxy port.
|
void |
setProxyUName(String proxyUName)
Set the username.
|
void |
setUserPaaswd(String userPasswd)
Deprecated.
|
void |
setUserPasswd(String userPasswd)
Set the proxy password.
|
void |
setWorkstation(String workstation)
Set the proxy workstation.
|
public HttpProxyConfiguration()
public HttpProxyConfiguration(String proxyAddr, int proxyPort, String proxyUname, String userPasswd, String domain)
proxyAddr
- Proxy addressproxyPort
- Proxy portproxyUname
- Proxy usernameuserPasswd
- Proxy passworddomain
- Proxy domainpublic HttpProxyConfiguration(String proxyAddr, int proxyPort, String proxyUname, String userPasswd, String domain, String workstation)
proxyAddr
- Proxy addressproxyPort
- Proxy portproxyUname
- Proxy usernameuserPaaswd
- Proxy passworddomain
- Proxy domainworkstation
- Workstation where the proxy is residespublic String getProxyAddr()
public void setProxyAddr(String proxyAddr)
proxyAddr
- Proxy addresspublic int getProxyPort()
public void setProxyPort(int proxyPort)
proxyPort
- Proxy portpublic String getProxyUName()
public void setProxyUName(String proxyUName)
proxyUName
- Proxy usernamepublic String getUserPasswd()
@Deprecated public String getUserPaaswd()
public void setUserPasswd(String userPasswd)
userPasswd
- Proxy password@Deprecated public void setUserPaaswd(String userPasswd)
public String getDomain()
public void setDomain(String domain)
domain
- Proxy domainpublic String getWorkstation()
public void setWorkstation(String workstation)
workstation
- Workstation where the proxy is residesCopyright © 2021. All rights reserved.