public class HttpProxyConfiguration extends Object
Constructor and Description |
---|
HttpProxyConfiguration() |
HttpProxyConfiguration(String proxyAddr,
int proxyPort,
String proxyUname,
String userPaaswd,
String domain) |
HttpProxyConfiguration(String proxyAddr,
int proxyPort,
String proxyUname,
String userPaaswd,
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()
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 userPaaswd)
Set the proxy password.
|
void |
setWorkstation(String workstation)
Set the proxy workstation.
|
public HttpProxyConfiguration()
public HttpProxyConfiguration(String proxyAddr, int proxyPort, String proxyUname, String userPaaswd, String domain)
proxyAddr
- Proxy addressproxyPort
- Proxy portproxyUname
- Proxy usernameuserPaaswd
- Proxy passworddomain
- Proxy domainpublic HttpProxyConfiguration(String proxyAddr, int proxyPort, String proxyUname, String userPaaswd, 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 getUserPaaswd()
public void setUserPaaswd(String userPaaswd)
userPaaswd
- Proxy passwordpublic String getDomain()
public void setDomain(String domain)
domain
- Proxy domainpublic String getWorkstation()
public void setWorkstation(String workstation)
workstation
- Workstation where the proxy is residesCopyright © 2019. All rights reserved.