RedirectStrategy.
| Modifier and Type | Field and Description |
|---|---|
| public static final DefaultRedirectStrategy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected URI | |
| public URI | getLocationURI(final HttpRequest request, final HttpResponse response, final HttpContext context)
Implements org. |
| public boolean | isRedirected(final HttpRequest
the executed request request, final HttpResponse the response received from the target server response, final HttpContext the context for the request execution context)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final DefaultRedirectStrategy INSTANCE | |
| DefaultRedirectStrategy | back to summary |
|---|---|
| public DefaultRedirectStrategy() | |
| createLocationURI | back to summary |
|---|---|
protected URI createLocationURI(final String location) throws ProtocolException
| |
| getLocationURI | back to summary |
|---|---|
| public URI getLocationURI(final HttpRequest request, final HttpResponse response, final HttpContext context) throws HttpException Implements org.
| |
| isRedirected | back to summary |
|---|---|
| public boolean isRedirected(final HttpRequest request, final HttpResponse response, final HttpContext context) throws ProtocolException Implements org. Doc from org. Determines if a request should be redirected to a new location given the response from the target server.
| |