@Contract(threading=IMMUTABLE) public class LaxRedirectStrategy extends DefaultRedirectStrategy
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.Modifier and Type | Field and Description |
---|---|
static LaxRedirectStrategy |
INSTANCE |
private static String[] |
REDIRECT_METHODS
Redirectable methods.
|
REDIRECT_LOCATIONS
Constructor and Description |
---|
LaxRedirectStrategy() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isRedirectable(String method) |
createLocationURI, getLocationURI, getRedirect, isRedirected
public static final LaxRedirectStrategy INSTANCE
private static final String[] REDIRECT_METHODS
public LaxRedirectStrategy()
protected boolean isRedirectable(String method)
isRedirectable
in class DefaultRedirectStrategy
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses