Deprecated
(4.3) use DefaultRoutePlanner
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:
| Modifier and Type | Field and Description |
|---|---|
| protected final SchemeRegistry | schemeRegistry
The scheme registry. |
| Access | Constructor and Description |
|---|---|
| public | DefaultHttpRoutePlanner(final SchemeRegistry
the scheme registry schreg)
Deprecated
as a consequence of
Creates a new default route planner.
SchemeRegistry being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public HttpRoute | determineRoute(final HttpHost
the target host for the request.
Implementations may accept target, final HttpRequest null
if they can still determine a route, for example
to a default target or by inspecting the request.the request to execute request, final HttpContext the context to use for the subsequent execution.
Implementations may accept context)null.Implements org. |
| schemeRegistry | back to summary |
|---|---|
| protected final SchemeRegistry schemeRegistry
Deprecated as a consequence of The scheme registry. | |
| DefaultHttpRoutePlanner | back to summary |
|---|---|
| public DefaultHttpRoutePlanner(final SchemeRegistry schreg)
Deprecated as a consequence of Creates a new default route planner.
| |
| determineRoute | back to summary |
|---|---|
| public HttpRoute determineRoute(final HttpHost target, final HttpRequest request, final HttpContext context) throws HttpException Implements org. Doc from org. Determines the route for a request.
| |