@Contract(threading=STATELESS) public class DefaultProxyRoutePlanner extends DefaultRoutePlanner
HttpRoutePlanner
that routes requests through a default proxy.Constructor and Description |
---|
DefaultProxyRoutePlanner(HttpHost proxy) |
DefaultProxyRoutePlanner(HttpHost proxy,
SchemePortResolver schemePortResolver) |
Modifier and Type | Method and Description |
---|---|
protected HttpHost |
determineProxy(HttpHost target,
HttpContext context)
This implementation returns null.
|
determineLocalAddress, determineRoute
public DefaultProxyRoutePlanner(HttpHost proxy)
public DefaultProxyRoutePlanner(HttpHost proxy, SchemePortResolver schemePortResolver)
protected HttpHost determineProxy(HttpHost target, HttpContext context) throws HttpException
DefaultRoutePlanner
determineProxy
in class DefaultRoutePlanner
HttpException
- may be thrown if overridden