@Immutable 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,
HttpRequest request,
HttpContext context) |
determineRoute
public DefaultProxyRoutePlanner(HttpHost proxy, SchemePortResolver schemePortResolver)
public DefaultProxyRoutePlanner(HttpHost proxy)
protected HttpHost determineProxy(HttpHost target, HttpRequest request, HttpContext context) throws HttpException
determineProxy
in class DefaultRoutePlanner
HttpException
Copyright © 1999–2013 The Apache Software Foundation. All rights reserved.