类 HttpProxyConfiguration
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.HttpProxyConfiguration
HTTP proxy configuration
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the proxy domain.Obtain the proxy address.intObtain the proxy port.Obtain the proxy username.已过时。Obtain the proxy password.Obtain the proxy workstation.voidSet the proxy domain.voidsetProxyAddr(String proxyAddr) Set the proxy address.voidsetProxyPort(int proxyPort) Set the proxy port.voidsetProxyUName(String proxyUName) Set the username.voidsetUserPaaswd(String userPasswd) 已过时。voidsetUserPasswd(String userPasswd) Set the proxy password.voidsetWorkstation(String workstation) Set the proxy workstation.
-
字段详细资料
-
proxyAddr
-
proxyPort
private int proxyPort -
proxyUname
-
userPasswd
-
domain
-
workstation
-
-
构造器详细资料
-
HttpProxyConfiguration
public HttpProxyConfiguration() -
HttpProxyConfiguration
public HttpProxyConfiguration(String proxyAddr, int proxyPort, String proxyUname, String userPasswd, String domain) - 参数:
proxyAddr- Proxy addressproxyPort- Proxy portproxyUname- Proxy usernameuserPasswd- Proxy passworddomain- Proxy domain
-
HttpProxyConfiguration
public HttpProxyConfiguration(String proxyAddr, int proxyPort, String proxyUname, String userPasswd, String domain, String workstation) Parameterized constructor- 参数:
proxyAddr- Proxy addressproxyPort- Proxy portproxyUname- Proxy usernameuserPasswd- Proxy passworddomain- Proxy domainworkstation- Workstation where the proxy is resides
-
-
方法详细资料
-
getProxyAddr
Obtain the proxy address.- 返回:
- Proxy address
-
setProxyAddr
Set the proxy address.- 参数:
proxyAddr- Proxy address
-
getProxyPort
public int getProxyPort()Obtain the proxy port.- 返回:
- Proxy port
-
setProxyPort
public void setProxyPort(int proxyPort) Set the proxy port.- 参数:
proxyPort- Proxy port
-
getProxyUName
Obtain the proxy username.- 返回:
- Proxy username
-
setProxyUName
Set the username.- 参数:
proxyUName- Proxy username
-
getUserPasswd
Obtain the proxy password.- 返回:
- Proxy password
-
getUserPaaswd
已过时。 -
setUserPasswd
Set the proxy password.- 参数:
userPasswd- Proxy password
-
setUserPaaswd
已过时。 -
getDomain
Obtain the proxy domain.- 返回:
- Proxy domain
-
setDomain
Set the proxy domain.- 参数:
domain- Proxy domain
-
getWorkstation
Obtain the proxy workstation.- 返回:
- Proxy workstation
-
setWorkstation
Set the proxy workstation.- 参数:
workstation- Workstation where the proxy is resides
-