Class ProxySetup

java.lang.Object
org.apache.tools.ant.util.ProxySetup

public class ProxySetup extends Object
Code to do proxy setup. This is just factored out of the main system just to keep everything else less convoluted.
Since:
Ant1.7
  • Field Details

  • Constructor Details

    • ProxySetup

      public ProxySetup(Project owner)
      create a proxy setup class bound to this project
      Parameters:
      owner - the project that owns this setup.
  • Method Details

    • getSystemProxySetting

      public static String getSystemProxySetting()
      Get the current system property settings
      Returns:
      current value; null for none or no access
    • enableProxies

      public void enableProxies()
      turn proxies on; if the proxy key is already set to some value: leave alone. if an ant property of the value USE_SYSTEM_PROXIES is set, use that instead. Else set to "true".