Class ProxyConfiguration


  • public class ProxyConfiguration
    extends java.lang.Object
    The configuration of the forward proxy to use with HttpClient.

    Applications add subclasses of ProxyConfiguration.Proxy to this configuration via:

     ProxyConfiguration proxyConfig = httpClient.getProxyConfiguration();
     proxyConfig.getProxies().add(new HttpProxy(proxyHost, 8080));
     
    See Also:
    HttpClient.getProxyConfiguration()