ThreadSafeClientConnManager is deprecated and a new method is introduced PoolingClientConnectionManager.
The documentation of PoolingClientConnectionManager says
Manages a pool of client connections and is able to service connection
requests from multiple execution threads. Connections are pooled on a
per route basis.
My Question
What is the meaning of per route basis here?
It refers to the HttpRoute. The HttpRoute is to delineate multiple applications running on the same web server.
http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/routing/HttpRoute.html
It is used like below:
source: http://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html