Re: HttpEntity#consumeContent deprecated; was Re: HttpEntity#writeTo and #consumeContent

2010-04-10 Thread Oleg Kalnichevski
On Sat, 2010-04-10 at 11:12 -0400, James Leigh wrote: > On Fri, 2010-04-09 at 21:12 +0200, Oleg Kalnichevski wrote: > > ... > > > > > > > > > > > I still don't understand what should be done if an IOException occurs > > > > > (or RuntimeException) while in the read() method. Must consumeContent

Re: HttpEntity#consumeContent deprecated; was Re: HttpEntity#writeTo and #consumeContent

2010-04-10 Thread James Leigh
On Fri, 2010-04-09 at 21:12 +0200, Oleg Kalnichevski wrote: > ... > > > > > > > > I still don't understand what should be done if an IOException occurs > > > > (or RuntimeException) while in the read() method. Must consumeContent be > > > > called then? Or, in an exception enough to consider the