Utilities for setting proxy-servers correctly
Modifiers | Name | Description |
---|---|---|
static java.net.ProxySelector |
DEFAULT_PROXY_SELECTOR |
Type Params | Return Type | Name and description |
---|---|---|
|
static boolean |
excludes(java.lang.String[] excludes, java.lang.String proxyHost, int proxyPort) |
|
static java.net.ProxySelector |
filterHttpHttpsSocksProxy(java.net.ProxySelector proxySelector) |
|
static AuthScope |
getManualProxyAuthScope(Settings settings) |
|
static java.net.Proxy |
getProxy(Settings settings) |
|
static Credentials |
getProxyCredentials(java.lang.String proxyUsername, java.lang.String proxyPassword) |
|
static Credentials |
getProxyCredentials(Settings settings) |
|
static CredentialsProvider |
getProxyCredentialsProvider(Settings settings) |
|
static java.net.Proxy$Type |
getProxyType(Settings settings) |
|
static boolean |
isAutoProxy() |
|
static boolean |
isProxyEnabled() |
|
static void |
setAutoProxy(boolean autoProxy) |
|
static void |
setForceDirectConnection(HttpParams params) |
|
static void |
setGlobalProxy(Settings settings) |
|
static void |
setProxyAuthenticator() |
|
static void |
setProxyEnabled(boolean proxyEnabled) |
|
static void |
updateProxyFromSettings() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |