Folks, I would like to deprecate the #consumeContent method in the HttpEntity interface for the following reasons:
* This method is useful (and applicable) only to one category of entities: streaming blocking entities. It is completely useless for buffering and simply inapplicable to non-blocking entities. * As far as streaming entities are concerned #consumeContent is equivalent to a trivial code snippet InputStream instream = entity.getContent(); if (instream != null) instream.close(); This code can easily be provided out of the EntityUtils utility class. There is no point cluttering the HttpEntity interface with a special method that applies to a limited number of implementations. Would anyone miss this method? If I hear no objections I'll go ahead and deprecate HttpEntity#consumeContent. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
