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

PoolingHttpClientConnectionManagerBuilder should also take the connection socket lookup as a builder parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 5.0
    • None
    • HttpClient (classic)
    • None

    Description

      Adding the connection socket lookup as a parameter for the builder makes it more flexible to use this builder.

      Example: 

      PoolingHttpClientConnectionManager mgr = PoolingHttpClientConnectionManagerBuilder.create()
              .setConnectionSocketFactoryRegistry(socketFactoryRegistry)
              .setSchemePortResolver(schemePortResolver)
              .setDnsResolver(dnsResolver)
              .setManagedConnPool(pool)
              .build();
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rafiek Rafiek Mohamedjoesoef
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 50m
                1h 50m