On Tue, 2010-09-21 at 23:23 +0100, sebb wrote:
> The comments added for the @deprecated tags in
> 
> r932551 - Deprecated HttpEntity#consumeContent in favor of a more
> standard InputStream#close contract
> 
> do not seem to make sense.
> 

Sebastian, if the comment is unclear or ambiguous please do feel free to
rephrase it. The idea is that one needs to do one of two things to
ensure proper deallocation of resources associated with a HTTP entity:
either call HttpEntity#writeOut() or call InputStream#close() on the
object returned by HttpEntity#getContent()

Oleg


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

Reply via email to