Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Refactor DefaultRedirectStrategy for subclassing. (#164)
- Adds the constructor DefaultRedirectStrategy(String[]) to construct a new instance to redirect the given HTTP methods.
- The default constructor now calls the String[] constructor.
- Reimplement the LaxRedirectStrategy default constructor to call DefaultRedirectStrategy(String[]).
All of this allows for new custom subclasses of DefaultRedirectStrategy to provide their own array of HTTP methods to redirect.