org.apache.tools.ant.util
public class ProxySetup extends Object
Since: Ant1.7
Field Summary | |
---|---|
static String | FTP_NON_PROXY_HOSTS the ftp hosts not to be proxied property |
static String | FTP_PROXY_HOST the ftp proxyhost property |
static String | FTP_PROXY_PORT the ftp proxyport property |
static String | HTTPS_NON_PROXY_HOSTS the http hosts not to be proxied property |
static String | HTTPS_PROXY_HOST the https proxyhost property |
static String | HTTPS_PROXY_PORT the https proxyport property |
static String | HTTP_NON_PROXY_HOSTS the ftp proxyport property |
static String | HTTP_PROXY_HOST the http proxyhost property |
static String | HTTP_PROXY_PASSWORD the http proxy password property |
static String | HTTP_PROXY_PORT the http proxyport property |
static String | HTTP_PROXY_USERNAME the http proxy username property |
static String | SOCKS_PROXY_HOST the socks proxy host property |
static String | SOCKS_PROXY_PASSWORD the socks proxy password property |
static String | SOCKS_PROXY_PORT the socks proxy port property |
static String | SOCKS_PROXY_USERNAME the socks proxy username property |
static String | USE_SYSTEM_PROXIES
Java1.5 property that enables use of system proxies. |
Constructor Summary | |
---|---|
ProxySetup(Project owner)
create a proxy setup class bound to this project |
Method Summary | |
---|---|
void | enableProxies()
turn proxies on;
if the proxy key is already set to some value: leave alone.
if an ant property of the value {@link #USE_SYSTEM_PROXIES}
is set, use that instead. |
static String | getSystemProxySetting()
Get the current system property settings |
UNKNOWN:
Parameters: owner the project that owns this setup.
Returns: current value; null for none or no access