java.lang.Object | |
↳ | org.apache.http.conn.params.ConnManagerParams |
An adaptor for manipulating HTTP connection management parameters in HttpParams.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DEFAULT_MAX_TOTAL_CONNECTIONS | The default maximum number of connections allowed overall |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.http.conn.params.ConnManagerPNames
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
use
getMaxForRoute(org.apache.http.conn.routing.HttpRoute)
| |||||||||||
This method is deprecated.
use
getMaxTotal()
| |||||||||||
This method is deprecated.
use
getConnectionTimeout(HttpParams)
| |||||||||||
This method is deprecated.
use
setMaxForRoute(org.apache.http.conn.routing.HttpRoute, int)
| |||||||||||
This method is deprecated.
use
setMaxTotal(int)
| |||||||||||
This method is deprecated.
use
setConnectionTimeout(HttpParams, int)
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The default maximum number of connections allowed overall
This method is deprecated.
use getMaxForRoute(org.apache.http.conn.routing.HttpRoute)
Returns lookup interface for maximum number of connections allowed per route.
params | HTTP parameters |
---|
This method is deprecated.
use getMaxTotal()
Gets the maximum number of connections allowed.
params | HTTP parameters |
---|
This method is deprecated.
use getConnectionTimeout(HttpParams)
Returns the timeout in milliseconds used when retrieving a
ManagedClientConnection
from the
ClientConnectionManager
.
This method is deprecated.
use setMaxForRoute(org.apache.http.conn.routing.HttpRoute, int)
Sets lookup interface for maximum number of connections allowed per route.
params | HTTP parameters |
---|---|
connPerRoute | lookup interface for maximum number of connections allowed per route |
This method is deprecated.
use setMaxTotal(int)
Sets the maximum number of connections allowed.
params | HTTP parameters |
---|---|
maxTotalConnections | The maximum number of connections allowed. |
This method is deprecated.
use setConnectionTimeout(HttpParams, int)
Sets the timeout in milliseconds used when retrieving a
ManagedClientConnection
from the
ClientConnectionManager
.
timeout | the timeout in milliseconds |
---|