Deprecated
(4.1) use configuration methods of the specific connection manager implementation.
HttpParams.
ConnManagerPNames
| Modifier and Type | Field and Description |
|---|---|
| private static final ConnPerRoute | DEFAULT_CONN_PER_ROUTE
The default maximum number of connections allowed per host |
| public static final int | DEFAULT_MAX_TOTAL_CONNECTIONS
The default maximum number of connections allowed overall |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ConnPerRoute | Returns: lookup interface for maximum number of connections allowed per route.HTTP parameters params)
Deprecated
as a consequence of
Returns lookup interface for maximum number of connections allowed per route.
HttpParams and ConnPerRoute being deprecated.
|
| public static int | Returns: The maximum number of connections allowed.HTTP parameters params)
Deprecated
as a consequence of
Gets the maximum number of connections allowed.
HttpParams being deprecated.
|
| public static long | Returns: timeout in milliseconds.
Deprecated
(4.1) use
Returns the timeout in milliseconds used when retrieving a
org.
org. from the
org..
|
| public static void | setMaxConnectionsPerRoute(final HttpParams
HTTP parameters params, final ConnPerRoute lookup interface for maximum number of connections allowed
per route connPerRoute)
Deprecated
as a consequence of
Sets lookup interface for maximum number of connections allowed per route.
HttpParams and ConnPerRoute being deprecated.
|
| public static void | setMaxTotalConnections(final HttpParams
HTTP parameters params, final int The maximum number of connections allowed. maxTotalConnections)
Deprecated
as a consequence of
Sets the maximum number of connections allowed.
HttpParams being deprecated.
|
| public static void | setTimeout(final HttpParams params, final long
the timeout in milliseconds timeout)
Deprecated
(4.1) use
Sets the timeout in milliseconds used when retrieving a
org.
org. from the
org..
|
| DEFAULT_CONN_PER_ROUTE | back to summary |
|---|---|
| private static final ConnPerRoute DEFAULT_CONN_PER_ROUTE
Deprecated as a consequence of The default maximum number of connections allowed per host | |
| DEFAULT_MAX_TOTAL_CONNECTIONS | back to summary |
|---|---|
| public static final int DEFAULT_MAX_TOTAL_CONNECTIONS The default maximum number of connections allowed overall | |
| ConnManagerParams | back to summary |
|---|---|
| public ConnManagerParams() | |
| getMaxConnectionsPerRoute | back to summary |
|---|---|
| public static ConnPerRoute getMaxConnectionsPerRoute(final HttpParams params)
Deprecated as a consequence of Returns lookup interface for maximum number of connections allowed per route.
| |
| getMaxTotalConnections | back to summary |
|---|---|
| public static int getMaxTotalConnections(final HttpParams params)
Deprecated as a consequence of Gets the maximum number of connections allowed.
| |
| getTimeout | back to summary |
|---|---|
| public static long getTimeout(final HttpParams params)
Deprecated (4.1) use Returns the timeout in milliseconds used when retrieving a
| |
| setMaxConnectionsPerRoute | back to summary |
|---|---|
| public static void setMaxConnectionsPerRoute(final HttpParams params, final ConnPerRoute connPerRoute)
Deprecated as a consequence of Sets lookup interface for maximum number of connections allowed per route.
| |
| setMaxTotalConnections | back to summary |
|---|---|
| public static void setMaxTotalConnections(final HttpParams params, final int maxTotalConnections)
Deprecated as a consequence of Sets the maximum number of connections allowed.
| |
| setTimeout | back to summary |
|---|---|
| public static void setTimeout(final HttpParams params, final long timeout)
Deprecated (4.1) use Sets the timeout in milliseconds used when retrieving a
| |