org.apache.http.impl.client
Class LaxRedirectStrategy
java.lang.Object
org.apache.http.impl.client.DefaultRedirectStrategy
org.apache.http.impl.client.LaxRedirectStrategy
- All Implemented Interfaces:
- RedirectStrategy
@Immutable
public class LaxRedirectStrategy
- extends DefaultRedirectStrategy
Lax 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.
- Since:
- 4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LaxRedirectStrategy
public LaxRedirectStrategy()
isRedirectable
protected boolean isRedirectable(String method)
- Overrides:
isRedirectable
in class DefaultRedirectStrategy
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.