hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Use consumeEntity whenever perfiorming 2+ requests?
Date Sun, 15 Mar 2009 12:15:50 GMT
On Fri, 2009-03-13 at 12:59 -0700, icet wrote:
> Should I use consumeEntity whenever I want to use the same client to perform
> more than one sequential request?

(1) What do you mean by consumeEntity? Do you mean

For detailed explanation of the HttpEntity#consumeContent method see the
'Ensuring release of low level resources' section of the HttpClient


(2) You should _always_ reuse the HttpClient instance.


> Thanks

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

View raw message