Package org.eclipse.jetty.client
Class ProxyConfiguration
- java.lang.Object
-
- org.eclipse.jetty.client.ProxyConfiguration
-
public class ProxyConfiguration extends java.lang.Object
The configuration of the forward proxy to use withHttpClient
.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()
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProxyConfiguration.Proxy
-
Constructor Summary
Constructors Constructor Description ProxyConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ProxyConfiguration.Proxy>
getProxies()
ProxyConfiguration.Proxy
match(Origin origin)
-
-
-
Method Detail
-
getProxies
public java.util.List<ProxyConfiguration.Proxy> getProxies()
-
match
public ProxyConfiguration.Proxy match(Origin origin)
-
-