Package io.dropwizard.client.proxy
Class NonProxyListProxyRoutePlanner
- java.lang.Object
-
- org.apache.http.impl.conn.DefaultRoutePlanner
-
- org.apache.http.impl.conn.DefaultProxyRoutePlanner
-
- io.dropwizard.client.proxy.NonProxyListProxyRoutePlanner
-
- All Implemented Interfaces:
org.apache.http.conn.routing.HttpRoutePlanner
public class NonProxyListProxyRoutePlanner extends org.apache.http.impl.conn.DefaultProxyRoutePlannerImplementation ofHttpRoutePlannerthat routes requests through proxy and takes into account list of hosts that should not be proxied
-
-
Constructor Summary
Constructors Constructor Description NonProxyListProxyRoutePlanner(org.apache.http.HttpHost proxy, List<String> nonProxyHosts)NonProxyListProxyRoutePlanner(org.apache.http.HttpHost proxy, org.apache.http.conn.SchemePortResolver schemePortResolver, List<String> nonProxyHosts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.HttpHostdetermineProxy(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)protected List<Pattern>getNonProxyHostPatterns()
-
-
-
Method Detail
-
determineProxy
@Nullable protected org.apache.http.HttpHost determineProxy(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException- Overrides:
determineProxyin classorg.apache.http.impl.conn.DefaultProxyRoutePlanner- Throws:
org.apache.http.HttpException
-
-