public class NonProxyListProxyRoutePlanner
extends org.apache.http.impl.conn.DefaultProxyRoutePlanner
HttpRoutePlanner
that routes requests through proxy and takes into account list of hosts that should not be proxiedConstructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.HttpHost |
determineProxy(org.apache.http.HttpHost target,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
protected List<Pattern> |
getNonProxyHostPatterns() |
public NonProxyListProxyRoutePlanner(org.apache.http.HttpHost proxy, @Nullable List<String> nonProxyHosts)
@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
determineProxy
in class org.apache.http.impl.conn.DefaultProxyRoutePlanner
org.apache.http.HttpException
Copyright © 2011. All rights reserved.