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

Extract InputStreamFactory classes out of GzipDecompressingEntity and DeflateDecompressingEntity for reuse and to create less garbage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.5.4, 5.0 Alpha3
    • None
    • None

    Description

      Extract InputStreamFactory classes out of GzipDecompressingEntity DeflateDecompressingEntity for reuse and to create less garbage through the use of singletons since the factories and stateless and immutable.

      The new classes are:

      • org.apache.hc.client5.http.entity.DeflateInputStreamFactory
      • org.apache.hc.client5.http.entity.GZIPInputStreamFactory

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: