java.lang.Object | |
↳ | org.apache.http.conn.params.ConnManagerParams |
This class represents a collection of HTTP protocol parameters applicable
to client-side
connection managers
.
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns lookup interface for maximum number of connections allowed per route.
| |||||||||||
Gets the maximum number of connections allowed.
| |||||||||||
Returns the timeout in milliseconds used when retrieving a
ManagedClientConnection from the
ClientConnectionManager . | |||||||||||
Sets lookup interface for maximum number of connections allowed per route.
| |||||||||||
Sets the maximum number of connections allowed.
| |||||||||||
Sets the timeout in milliseconds used when retrieving a
ManagedClientConnection from the
ClientConnectionManager . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The default maximum number of connections allowed overall
Returns lookup interface for maximum number of connections allowed per route.
params | HTTP parameters |
---|
Gets the maximum number of connections allowed.
params | HTTP parameters |
---|
Returns the timeout in milliseconds used when retrieving a
ManagedClientConnection
from the
ClientConnectionManager
.
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 |
Sets the maximum number of connections allowed.
params | HTTP parameters |
---|---|
maxTotalConnections | The maximum number of connections allowed. |
Sets the timeout in milliseconds used when retrieving a
ManagedClientConnection
from the
ClientConnectionManager
.
timeout | the timeout in milliseconds |
---|