You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2013/05/29 10:47:19 UTC

[jira] [Commented] (HTTPCLIENT-1360) Expose DeflateInputStream as an independent class

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13669098#comment-13669098 ] 

Karl Wright commented on HTTPCLIENT-1360:
-----------------------------------------

Oleg, if you agree this is a good idea, I'll provide a patch for your review.
                
> Expose DeflateInputStream as an independent class
> -------------------------------------------------
>
>                 Key: HTTPCLIENT-1360
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1360
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 4.2.5
>            Reporter: Karl Wright
>
> The DeflateDecompressingEntity class performs a fairly involved bit of logic to decide how to decompress deflated data.  It would be great if this logic were wrapped up as an InputStream wrapper (implementing InputStream, of course), so that it could be used by logic that cannot use an entity override for this purpose.
> (The specific case is that ManifoldCF needs to perform throttling *before* deflation/decompression, so it can't use the off-the-shelf entities provided for this purpose.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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