@Contract(threading=IMMUTABLE)
public class RedirectStrategy
extends org.apache.http.impl.client.DefaultRedirectStrategy
| Modifier and Type | Field and Description |
|---|---|
static RedirectStrategy |
INSTANCE
Lax
RedirectStrategy implementation
that automatically redirects all HEAD, GET, POST, and DELETE requests. |
| Constructor and Description |
|---|
RedirectStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isRedirectable(java.lang.String method) |
public static final RedirectStrategy INSTANCE
RedirectStrategy implementation
that automatically redirects all HEAD, GET, POST, and DELETE requests.
This strategy relaxes restrictions on automatic redirection of
POST methods imposed by the HTTP specification.