I'm writing a swing application with HttpClient 4.
I followed the standard approach by passing a ThreadSafeClientConnManager
to my shared HttpClient
instance for now. But now I would like to be able to execute multiple requests/downloads at the same time...
I found some examples with MultiThreadedHttpConnectionManager
for HttpClient 3.x
but can I use it for version 4.x ? If so how ? I tried it but without success...
Thanks ;)
In 4.x, the equivalent is Pooling connection manager. You can read more details on its usage in section Pooling connection manager here. I would also strongly suggest you to read this thread on their forum.