| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.util.ProxySetup
public class ProxySetup
Code to do proxy setup. This is just factored out of the main system just to keep everything else less convoluted.
| Field Summary | |
|---|---|
| static java.lang.String | FTP_NON_PROXY_HOSTSthe ftp hosts not to be proxied property | 
| static java.lang.String | FTP_PROXY_HOSTthe ftp proxyhost property | 
| static java.lang.String | FTP_PROXY_PORTthe ftp proxyport property | 
| static java.lang.String | HTTP_NON_PROXY_HOSTSthe ftp proxyport property | 
| static java.lang.String | HTTP_PROXY_HOSTthe http proxyhost property | 
| static java.lang.String | HTTP_PROXY_PASSWORDthe http proxy password property | 
| static java.lang.String | HTTP_PROXY_PORTthe http proxyport property | 
| static java.lang.String | HTTP_PROXY_USERNAMEthe http proxy username property | 
| static java.lang.String | HTTPS_NON_PROXY_HOSTSthe http hosts not to be proxied property | 
| static java.lang.String | HTTPS_PROXY_HOSTthe https proxyhost property | 
| static java.lang.String | HTTPS_PROXY_PORTthe https proxyport property | 
| static java.lang.String | SOCKS_PROXY_HOSTthe socks proxy host property | 
| static java.lang.String | SOCKS_PROXY_PASSWORDthe socks proxy password property | 
| static java.lang.String | SOCKS_PROXY_PORTthe socks proxy port property | 
| static java.lang.String | SOCKS_PROXY_USERNAMEthe socks proxy username property | 
| static java.lang.String | USE_SYSTEM_PROXIESJava1.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. | 
| static java.lang.String | getSystemProxySetting()Get the current system property settings | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
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
| Constructor Detail | 
|---|
public ProxySetup(Project owner)
owner - the project that owns this setup.| Method Detail | 
|---|
public static java.lang.String getSystemProxySetting()
public void enableProxies()
USE_SYSTEM_PROXIES
 is set, use that instead. Else set to "true".
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||