HttpClient 4 - What Happened to MultiThreadedHttpConnectionManager?

I am writing a swing application with HttpClient 4.

I followed the standard approach by passing ThreadSafeClientConnManagerto my shared HttpClientinstance. But now I would like to be able to execute multiple requests / downloads at once ...

I found some examples with MultiThreadedHttpConnectionManagerfor HttpClient 3.x, but can I use it for version 4.x? If so, how? I tried, but to no avail ...

Thank;)

+5
source share
2 answers

4.x . . .

+11

javadoc , DefaultHttpClient .

, , HttpClient ... / ThreadSafeClientConnManager . HttpClient. , .

API 3.x 4.x, , .

+1

All Articles