I forgot to mention another useful source, the HttpClient tutorial, 
specifically to your questions you may want to jump directly here:

http://hc.apache.org/httpcomponents-client-4.0.1/tutorial/html/connmgmt.html#d4e596



> Hi Rajkumari,
> 
> so far I have not tried HttpClient 4.x on my own, but using a
> SingleClientConnManager doesn't sound to be a reasonable choice to support
> multiple threads. So what about using ThreadSaveClientConnManager instead?
> I suggest having a look at the pretty good JavaDoc!
> Additional hint:While you are at you should also have a glance at
> setMaxForFoute() and setMaxTotalConnections() and adjust the probably RFC-
> compliant defaults according to your usage scenario.
> 
> Hope this helps.
> 
> Regards,
>    Eric

Reply via email to