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

introduce HttpRoutePlanner interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0 Alpha 2
    • HttpClient (classic)
    • None

    Description

      Define an interface to determine a route for a given target host.
      Create default implementation replacing DefaultHttpClient.determineRoute(...);
      Implementations will need access to params and/or request.

      The interface fits into HttpConn, but DHC.dR(...) uses client parameters.
      Either move parameters to HttpConn, or keep default implementation in HttpClient.

      Alternative implementations could evaluate Java system properties related to proxy settings.

      Attachments

        1. firstImpl.patch
          8 kB
          Andrea Selva
        2. secondImpl.patch
          9 kB
          Andrea Selva

        Activity

          People

            rolandw Roland Weber
            rolandw Roland Weber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: