Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2014

Refactor DefaultRedirectStrategy for subclassing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.5.10
    • HttpClient (classic)
    • 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.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: