org.apache.http.impl.conn
Class DefaultProxyRoutePlanner
java.lang.Object
org.apache.http.impl.conn.DefaultRoutePlanner
org.apache.http.impl.conn.DefaultProxyRoutePlanner
- All Implemented Interfaces:
- org.apache.http.conn.routing.HttpRoutePlanner
@Immutable
public class DefaultProxyRoutePlanner
- extends DefaultRoutePlanner
Implementation of an HttpRoutePlanner
that routes requests through a default proxy.
- Since:
- 4.3
|
Method Summary |
protected org.apache.http.HttpHost |
determineProxy(org.apache.http.HttpHost target,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProxyRoutePlanner
public DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy,
SchemePortResolver schemePortResolver)
DefaultProxyRoutePlanner
public DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy)
determineProxy
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
- Overrides:
determineProxy in class DefaultRoutePlanner
- Throws:
org.apache.http.HttpException