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 >
Donald 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? Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
