org.apache.http.impl.conn
Class DefaultRoutePlanner
java.lang.Object
org.apache.http.impl.conn.DefaultRoutePlanner
- All Implemented Interfaces:
- org.apache.http.conn.routing.HttpRoutePlanner
- Direct Known Subclasses:
- DefaultProxyRoutePlanner, SystemDefaultRoutePlanner
@Immutable
public class DefaultRoutePlanner
- extends java.lang.Object
- implements org.apache.http.conn.routing.HttpRoutePlanner
Default implementation of an HttpRoutePlanner. It will not make use of
any Java system properties, nor of system or browser proxy settings.
- 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)
|
org.apache.http.conn.routing.HttpRoute |
determineRoute(org.apache.http.HttpHost host,
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 |
DefaultRoutePlanner
public DefaultRoutePlanner(SchemePortResolver schemePortResolver)
determineRoute
public org.apache.http.conn.routing.HttpRoute determineRoute(org.apache.http.HttpHost host,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException
- Specified by:
determineRoute in interface org.apache.http.conn.routing.HttpRoutePlanner
- Throws:
org.apache.http.HttpException
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
- Throws:
org.apache.http.HttpException