Gary Gregory created HTTPCLIENT-2014:
----------------------------------------

             Summary: Refactor DefaultRedirectStrategy for subclassing
                 Key: HTTPCLIENT-2014
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2014
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpClient (classic)
            Reporter: Gary Gregory
            Assignee: Gary Gregory


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.




--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to