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: help with EofSensorInputStream..
Date Wed, 20 Apr 2011 13:11:01 GMT
On Wed, 2011-04-20 at 06:00 -0700, Donald Fernandes wrote:
> I have recently moved from Httpclient 3.1 to HttpClient 4.2, mainly to
> resolve the inputstream autoclose problem. I need help in creating the
> EofSensorInputStream.. 
> I have a http connection pool amanager using ThreadSafeClientConnManager
> using.. 
> when i post an url and get the response using getEntity().getContent() i
> believe this method by default closes the stream. and to override this we
> need to use the EofSensorInputStream


I am not sure I understand the problem.

What is it _exactly_ you are trying to do and why do you need to prevent
the content stream from being closed? What is the requirement that
drives this?


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

View raw message