@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 |
REDIRECT_LOCATIONS, SC_PERMANENT_REDIRECT
Constructor and Description |
---|
LaxRedirectStrategy() |
createLocationURI, getLocationURI, getRedirect, isRedirectable, isRedirected
public static final LaxRedirectStrategy INSTANCE
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.