You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2017/05/08 19:19:04 UTC

[jira] [Closed] (HTTPCLIENT-1845) Extract InputStreamFactory classes out of GzipDecompressingEntity and DeflateDecompressingEntity for reuse and to create less garbage

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory closed HTTPCLIENT-1845.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.5.4

In svn trunk and the 4.5.x branch.

> Extract InputStreamFactory classes out of GzipDecompressingEntity and DeflateDecompressingEntity for reuse and to create less garbage
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1845
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1845
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 4.5.4, 5.0 Alpha3
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org