public class HttpProxyConfiguration extends Object
| 构造器 | 说明 |
|---|---|
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
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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() |
已过时。
|
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) |
已过时。
|
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 usernameuserPasswd - 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 © 2025. All rights reserved.