@Immutable public class DefaultProxyRoutePlanner extends DefaultRoutePlanner
HttpRoutePlanner
that routes requests through a default proxy.Constructor and Description |
---|
DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy) |
DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy,
SchemePortResolver schemePortResolver) |
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) |
determineRoute
public DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy, SchemePortResolver schemePortResolver)
public DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy)
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 DefaultRoutePlanner
org.apache.http.HttpException
Copyright © 1999-2016 The Apache Software Foundation. All Rights Reserved.