This class represents a collection of HTTP protocol parameters applicable to client-side connection managers . More...
The following notice applies to the original API on which this API is based, and to its documentation. The documentation of this API has been revised from the original.
/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */
Static Public Member Functions | |
static long | getTimeout (final HttpParams params) |
Returns the timeout in milliseconds used when retrieving a com.good.gd.apache.http.conn.ManagedClientConnection from the com.good.gd.apache.http.conn.ClientConnectionManager. More... | |
static void | setTimeout (final HttpParams params, long timeout) |
Sets the timeout in milliseconds used when retrieving a com.good.gd.apache.http.conn.ManagedClientConnection from the com.good.gd.apache.http.conn.ClientConnectionManager. More... | |
static void | setMaxConnectionsPerRoute (final HttpParams params, final ConnPerRoute connPerRoute) |
Sets lookup interface for maximum number of connections allowed per route. More... | |
static ConnPerRoute | getMaxConnectionsPerRoute (final HttpParams params) |
Returns lookup interface for maximum number of connections allowed per route. More... | |
static void | setMaxTotalConnections (final HttpParams params, int maxTotalConnections) |
Sets the maximum number of connections allowed. More... | |
static int | getMaxTotalConnections (final HttpParams params) |
Gets the maximum number of connections allowed. More... | |
Static Public Attributes | |
static final int | DEFAULT_MAX_TOTAL_CONNECTIONS = 20 |
The default maximum number of connections allowed overall. | |
Static Public Attributes inherited from ConnManagerPNames | |
static final String | TIMEOUT = "http.conn-manager.timeout" |
Defines the timeout in milliseconds used when retrieving an instance of com.good.gd.apache.http.conn.ManagedClientConnection from the com.good.gd.apache.http.conn.ClientConnectionManager. More... | |
static final String | MAX_CONNECTIONS_PER_ROUTE = "http.conn-manager.max-per-route" |
Defines the maximum number of connections per route. More... | |
static final String | MAX_TOTAL_CONNECTIONS = "http.conn-manager.max-total" |
Defines the maximum number of connections in total. More... | |
|
static |
params | HTTP parameters |
|
static |
params | HTTP parameters |
timeout | the timeout in milliseconds |
|
static |
params | HTTP parameters |
connPerRoute | lookup interface for maximum number of connections allowed per route |
|
static |
params | HTTP parameters |
|
static |
params | HTTP parameters |
maxTotalConnections | The maximum number of connections allowed. |
|
static |
params | HTTP parameters |