|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.conn.params.ConnManagerParams
HttpConnectionParams
and ThreadSafeClientConnManager
.
See individual method descriptions for details
@Deprecated @Immutable public final class ConnManagerParams
An adaptor for manipulating HTTP connection management
parameters in HttpParams
.
ConnManagerPNames
Field Summary | |
---|---|
static int |
DEFAULT_MAX_TOTAL_CONNECTIONS
Deprecated. The default maximum number of connections allowed overall |
Fields inherited from interface org.apache.http.conn.params.ConnManagerPNames |
---|
MAX_CONNECTIONS_PER_ROUTE, MAX_TOTAL_CONNECTIONS, TIMEOUT |
Constructor Summary | |
---|---|
ConnManagerParams()
Deprecated. |
Method Summary | |
---|---|
static ConnPerRoute |
getMaxConnectionsPerRoute(org.apache.http.params.HttpParams params)
Deprecated. use ThreadSafeClientConnManager.getMaxForRoute(org.apache.http.conn.routing.HttpRoute) |
static int |
getMaxTotalConnections(org.apache.http.params.HttpParams params)
Deprecated. use ThreadSafeClientConnManager.getMaxTotal() |
static long |
getTimeout(org.apache.http.params.HttpParams params)
Deprecated. use HttpConnectionParams.getConnectionTimeout(HttpParams) |
static void |
setMaxConnectionsPerRoute(org.apache.http.params.HttpParams params,
ConnPerRoute connPerRoute)
Deprecated. use ThreadSafeClientConnManager.setMaxForRoute(org.apache.http.conn.routing.HttpRoute, int) |
static void |
setMaxTotalConnections(org.apache.http.params.HttpParams params,
int maxTotalConnections)
Deprecated. use ThreadSafeClientConnManager.setMaxTotal(int) |
static void |
setTimeout(org.apache.http.params.HttpParams params,
long timeout)
Deprecated. use HttpConnectionParams.setConnectionTimeout(HttpParams, int) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_MAX_TOTAL_CONNECTIONS
Constructor Detail |
---|
public ConnManagerParams()
Method Detail |
---|
@Deprecated public static long getTimeout(org.apache.http.params.HttpParams params)
HttpConnectionParams.getConnectionTimeout(HttpParams)
ManagedClientConnection
from the
ClientConnectionManager
.
@Deprecated public static void setTimeout(org.apache.http.params.HttpParams params, long timeout)
HttpConnectionParams.setConnectionTimeout(HttpParams, int)
ManagedClientConnection
from the
ClientConnectionManager
.
timeout
- the timeout in milliseconds@Deprecated public static void setMaxConnectionsPerRoute(org.apache.http.params.HttpParams params, ConnPerRoute connPerRoute)
ThreadSafeClientConnManager.setMaxForRoute(org.apache.http.conn.routing.HttpRoute, int)
params
- HTTP parametersconnPerRoute
- lookup interface for maximum number of connections allowed
per route@Deprecated public static ConnPerRoute getMaxConnectionsPerRoute(org.apache.http.params.HttpParams params)
ThreadSafeClientConnManager.getMaxForRoute(org.apache.http.conn.routing.HttpRoute)
params
- HTTP parameters
@Deprecated public static void setMaxTotalConnections(org.apache.http.params.HttpParams params, int maxTotalConnections)
ThreadSafeClientConnManager.setMaxTotal(int)
params
- HTTP parametersmaxTotalConnections
- The maximum number of connections allowed.@Deprecated public static int getMaxTotalConnections(org.apache.http.params.HttpParams params)
ThreadSafeClientConnManager.getMaxTotal()
params
- HTTP parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |