public class ProxySetup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FTP_NON_PROXY_HOSTS
the ftp hosts not to be proxied property
|
static java.lang.String |
FTP_PROXY_HOST
the ftp proxyhost property
|
static java.lang.String |
FTP_PROXY_PORT
the ftp proxyport property
|
static java.lang.String |
HTTP_NON_PROXY_HOSTS
the ftp proxyport property
|
static java.lang.String |
HTTP_PROXY_HOST
the http proxyhost property
|
static java.lang.String |
HTTP_PROXY_PASSWORD
the http proxy password property
|
static java.lang.String |
HTTP_PROXY_PORT
the http proxyport property
|
static java.lang.String |
HTTP_PROXY_USERNAME
the http proxy username property
|
static java.lang.String |
HTTPS_NON_PROXY_HOSTS
the http hosts not to be proxied property
|
static java.lang.String |
HTTPS_PROXY_HOST
the https proxyhost property
|
static java.lang.String |
HTTPS_PROXY_PORT
the https proxyport property
|
static java.lang.String |
SOCKS_PROXY_HOST
the socks proxy host property
|
static java.lang.String |
SOCKS_PROXY_PASSWORD
the socks proxy password property
|
static java.lang.String |
SOCKS_PROXY_PORT
the socks proxy port property
|
static java.lang.String |
SOCKS_PROXY_USERNAME
the socks proxy username property
|
static java.lang.String |
USE_SYSTEM_PROXIES
Java1.5 property that enables use of system proxies.
|
Constructor and Description |
---|
ProxySetup(Project owner)
create a proxy setup class bound to this project
|
Modifier and Type | Method and Description |
---|---|
void |
enableProxies()
turn proxies on;
if the proxy key is already set to some value: leave alone.
|
static java.lang.String |
getSystemProxySetting()
Get the current system property settings
|
public static final java.lang.String USE_SYSTEM_PROXIES
public static final java.lang.String HTTP_PROXY_HOST
public static final java.lang.String HTTP_PROXY_PORT
public static final java.lang.String HTTPS_PROXY_HOST
public static final java.lang.String HTTPS_PROXY_PORT
public static final java.lang.String FTP_PROXY_HOST
public static final java.lang.String FTP_PROXY_PORT
public static final java.lang.String HTTP_NON_PROXY_HOSTS
public static final java.lang.String HTTPS_NON_PROXY_HOSTS
public static final java.lang.String FTP_NON_PROXY_HOSTS
public static final java.lang.String HTTP_PROXY_USERNAME
public static final java.lang.String HTTP_PROXY_PASSWORD
public static final java.lang.String SOCKS_PROXY_HOST
public static final java.lang.String SOCKS_PROXY_PORT
public static final java.lang.String SOCKS_PROXY_USERNAME
public static final java.lang.String SOCKS_PROXY_PASSWORD
public ProxySetup(Project owner)
owner
- the project that owns this setup.public static java.lang.String getSystemProxySetting()
public void enableProxies()
USE_SYSTEM_PROXIES
is set, use that instead. Else set to "true".