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: Re: ThreadSafeClientConnManager
Date Wed, 22 Sep 2010 15:35:15 GMT
On Wed, 2010-09-22 at 18:05 +0300, George Georgieff wrote:
> For that matter is it a good practice to set a HttpClient with a ThreadSafeClientConnManager
in the ServletContext of a webapp, and to reuse the HttpClient ?
> 
> 

Absolutely. One should also use a ServletContextListener to shut down
the connection manager associated with the HttpClient instance upon the
webapp shutdown.

Oleg



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


Mime
View raw message