Deprecated
(4.1) use DefaultRedirectStrategy.
RedirectHandler.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public URI | getLocationURI(final HttpResponse
the response received from the target server response, final HttpContext the context for the request execution context)Implements org. |
| public boolean | isRedirectRequested(final HttpResponse
the response received from the target server response, final HttpContext the context for the request execution context)Implements org. |
| log | back to summary |
|---|---|
| private final Log log | |
| REDIRECT_LOCATIONS | back to summary |
|---|---|
| private static final String REDIRECT_LOCATIONS | |
| DefaultRedirectHandler | back to summary |
|---|---|
| public DefaultRedirectHandler() | |
| getLocationURI | back to summary |
|---|---|
| public URI getLocationURI(final HttpResponse response, final HttpContext context) throws ProtocolException Implements org. Doc from org. Determines the location request is expected to be redirected to given the response from the target server and the current request execution context.
| |
| isRedirectRequested | back to summary |
|---|---|
| public boolean isRedirectRequested(final HttpResponse response, final HttpContext context) Implements org. Doc from org. Determines if a request should be redirected to a new location given the response from the target server.
| |