类 HttpProxyConfiguration
java.lang.Object
com.obs.services.HttpProxyConfiguration
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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.
-
构造器详细资料
-
HttpProxyConfiguration
public HttpProxyConfiguration() -
HttpProxyConfiguration
-
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
-
setProxyAddr
-
getProxyPort
public int getProxyPort()Obtain the proxy port.- 返回:
- Proxy port
-
setProxyPort
public void setProxyPort(int proxyPort) Set the proxy port.- 参数:
proxyPort- Proxy port
-
getProxyUName
-
setProxyUName
-
getUserPasswd
-
getUserPaaswd
已过时。 -
setUserPasswd
Set the proxy password.- 参数:
userPasswd- Proxy password
-
setUserPaaswd
已过时。 -
getDomain
-
setDomain
-
getWorkstation
-
setWorkstation
Set the proxy workstation.- 参数:
workstation- Workstation where the proxy is resides
-