org.apache.http.conn.params.ConnManagerPNames |
Known Indirect Subclasses |
Parameter names for connection managers in HttpConn.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | MAX_CONNECTIONS_PER_ROUTE |
This constant is deprecated.
use setMaxForRoute(org.apache.http.conn.routing.HttpRoute, int) ,
getMaxForRoute(org.apache.http.conn.routing.HttpRoute)
|
|||||||||
String | MAX_TOTAL_CONNECTIONS |
This constant is deprecated.
use setMaxTotal(int) ,
getMaxTotal()
|
|||||||||
String | TIMEOUT |
This constant is deprecated.
use CONNECTION_TIMEOUT
|
This constant is deprecated.
use setMaxForRoute(org.apache.http.conn.routing.HttpRoute, int)
,
getMaxForRoute(org.apache.http.conn.routing.HttpRoute)
Defines the maximum number of connections per route. This limit is interpreted by client connection managers and applies to individual manager instances.
This parameter expects a value of type ConnPerRoute
.
This constant is deprecated.
use setMaxTotal(int)
,
getMaxTotal()
Defines the maximum number of connections in total. This limit is interpreted by client connection managers and applies to individual manager instances.
This parameter expects a value of type Integer.
This constant is deprecated.
use CONNECTION_TIMEOUT
Defines the timeout in milliseconds used when retrieving an instance of
ManagedClientConnection
from the
ClientConnectionManager
.
This parameter expects a value of type Long.