@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, determineRoutepublic DefaultProxyRoutePlanner(HttpHost proxy, SchemePortResolver schemePortResolver)
public DefaultProxyRoutePlanner(HttpHost proxy)
protected HttpHost determineProxy(HttpHost target, HttpContext context) throws HttpException
DefaultRoutePlannerdetermineProxy in class DefaultRoutePlannerHttpException - may be thrown if overriddenCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.