public class ProxySettings extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEPLOYMENT_PROXY_HTTP_HOST |
static String |
DEPLOYMENT_PROXY_HTTP_PORT |
static String |
DEPLOYMENT_PROXY_SOCKS_HOST |
static String |
DEPLOYMENT_PROXY_SOCKS_PORT |
static String |
HTTP_DOT_PROXY_HOST |
static String |
HTTP_DOT_PROXY_PORT |
static String |
PROXY_HOST |
static String |
PROXY_PORT |
static String |
SOCKS_PROXY_HOST |
static String |
SOCKS_PROXY_PORT |
Constructor and Description |
---|
ProxySettings() |
Modifier and Type | Method and Description |
---|---|
void |
applySettings() |
void |
flush() |
String |
getHTTPProxyHost() |
int |
getHTTPProxyPort() |
static ProxySettings |
getInstance() |
String |
getProxyPassword() |
ProxyType |
getProxyType() |
String |
getProxyUser() |
String |
getSocksProxyHost() |
int |
getSocksProxyPort() |
void |
installAuthenticator() |
boolean |
isUseSocksProxy() |
void |
setHTTPProxyHost(String httpProxyHost) |
void |
setHTTPProxyPort(int httpProxyPort) |
void |
setProxyPassword(String proxyPassword) |
void |
setProxyType(ProxyType proxyType) |
void |
setProxyUser(String proxyUser) |
void |
setSocksProxyHost(String socksProxyHost) |
void |
setSocksProxyPort(int socksProxyPort) |
void |
setUseSocksProxy(boolean useSocksProxy) |
public static final String HTTP_DOT_PROXY_HOST
public static final String HTTP_DOT_PROXY_PORT
public static final String SOCKS_PROXY_HOST
public static final String SOCKS_PROXY_PORT
public static final String DEPLOYMENT_PROXY_HTTP_HOST
public static final String DEPLOYMENT_PROXY_HTTP_PORT
public static final String DEPLOYMENT_PROXY_SOCKS_HOST
public static final String DEPLOYMENT_PROXY_SOCKS_PORT
public static final String PROXY_PORT
public static final String PROXY_HOST
public static ProxySettings getInstance()
public void installAuthenticator()
public ProxyType getProxyType()
public void setProxyType(ProxyType proxyType)
public String getHTTPProxyHost()
public void setHTTPProxyHost(String httpProxyHost)
public int getHTTPProxyPort()
public void setHTTPProxyPort(int httpProxyPort)
public String getProxyUser()
public void setProxyUser(String proxyUser)
public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
public boolean isUseSocksProxy()
public void setUseSocksProxy(boolean useSocksProxy)
public int getSocksProxyPort()
public void setSocksProxyPort(int socksProxyPort)
public String getSocksProxyHost()
public void setSocksProxyHost(String socksProxyHost)
public void applySettings()
public void flush()