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

Jochen Kemnade commented on HTTPCLIENT-1511:
--------------------------------------------

That would be perfectly fine for my use case, thanks. I just want to be able to 
get an input stream for the entity (or use piped streams and be able to stream 
it to an output stream).

> Should be possible to retrieve the entity stream from a fluent respose
> ----------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1511
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1511
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Fluent HC
>    Affects Versions: 4.3.3
>            Reporter: Jochen Kemnade
>             Fix For: Future
>
>
> For a Response, there should be an easy way to retrieve/work with the 
> returned entity's stream, because you don't always want the create an 
> in-memory copy of the whole content. You should not have to write a custom 
> ResponseHandler and have to implement the status line handling again.
> We could add EntityStreamHandler and 
> Reponse.handleEntityStream(EntityStreamHandler) or just make it easier to 
> subclass BasicResponseHandler (i.e. not always convert to a String).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to