@Immutable public class LaxRedirectStrategy extends DefaultRedirectStrategy
RedirectStrategy
implementation
that automatically redirects all HEAD, GET and POST requests.
This strategy relaxes restrictions on automatic redirection of
POST methods imposed by the HTTP specification.INSTANCE, REDIRECT_LOCATIONS
Constructor and Description |
---|
LaxRedirectStrategy() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isRedirectable(String method) |
createLocationURI, getLocationURI, getRedirect, isRedirected
protected boolean isRedirectable(String method)
isRedirectable
in class DefaultRedirectStrategy
Copyright © 1999–2013 The Apache Software Foundation. All rights reserved.