|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.conn.DefaultHttpRoutePlanner
DefaultRoutePlanner
@Contract(threading=SAFE) @Deprecated public class DefaultHttpRoutePlanner
Default implementation of an HttpRoutePlanner. This implementation
is based on parameters.
It will not make use of any Java system properties, nor of system or
browser proxy settings.
The following parameters can be used to customize the behavior of this class:
| Field Summary | |
|---|---|
protected SchemeRegistry |
schemeRegistry
Deprecated. The scheme registry. |
| Constructor Summary | |
|---|---|
DefaultHttpRoutePlanner(SchemeRegistry schreg)
Deprecated. Creates a new default route planner. |
|
| Method Summary | |
|---|---|
HttpRoute |
determineRoute(org.apache.http.HttpHost target,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Deprecated. Determines the route for a request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final SchemeRegistry schemeRegistry
| Constructor Detail |
|---|
public DefaultHttpRoutePlanner(SchemeRegistry schreg)
schreg - the scheme registry| Method Detail |
|---|
public HttpRoute determineRoute(org.apache.http.HttpHost target,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException
HttpRoutePlanner
determineRoute in interface HttpRoutePlannertarget - the target host for the request.
Implementations may accept null
if they can still determine a route, for example
to a default target or by inspecting the request.request - the request to executecontext - the context to use for the subsequent execution.
Implementations may accept null.
org.apache.http.HttpException - in case of a problem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||