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

refactor HttpClientConnection and HttpProxyConnection

    XMLWordPrintableJSON

Details

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

    Description

      Instead of trying to define a full abstraction for client connections, let's define only a minimal interface in HttpCore with only those methods actually needed in the core. In particular, the core does not need to open connections (since HTTPCORE-11), and it does not care whether a connection is direct or through a proxy. An abstraction for client connections can be defined in HttpConn.

      (original description
      As discussed on the mailing list, separating the responsibility for establishing connections from the connection objects could improve the design and help with proxy support.

      Attachments

        1. 2k6-08-25-core-conn-1.tar
          60 kB
          Roland Weber
        2. 20060923-httpasync.patch
          16 kB
          Oleg Kalnichevski
        3. 20060923-httpcore.patch
          14 kB
          Oleg Kalnichevski

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: