|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.conn.params.ConnPerRouteBean
ConnPoolControl
@Deprecated @Contract(threading=SAFE) public final class ConnPerRouteBean
This class maintains a map of HTTP routes to maximum number of connections allowed
for those routes. This class can be used by pooling
connection managers
for
a fine-grained control of connections on a per route basis.
Field Summary | |
---|---|
static int |
DEFAULT_MAX_CONNECTIONS_PER_ROUTE
Deprecated. The default maximum number of connections allowed per host |
Constructor Summary | |
---|---|
ConnPerRouteBean()
Deprecated. |
|
ConnPerRouteBean(int defaultMax)
Deprecated. |
Method Summary | |
---|---|
int |
getDefaultMax()
Deprecated. |
int |
getDefaultMaxPerRoute()
Deprecated. |
int |
getMaxForRoute(HttpRoute route)
Deprecated. |
void |
setDefaultMaxPerRoute(int max)
Deprecated. |
void |
setMaxForRoute(HttpRoute route,
int max)
Deprecated. |
void |
setMaxForRoutes(Map<HttpRoute,Integer> map)
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_MAX_CONNECTIONS_PER_ROUTE
Constructor Detail |
---|
public ConnPerRouteBean(int defaultMax)
public ConnPerRouteBean()
Method Detail |
---|
public int getDefaultMax()
public int getDefaultMaxPerRoute()
public void setDefaultMaxPerRoute(int max)
public void setMaxForRoute(HttpRoute route, int max)
public int getMaxForRoute(HttpRoute route)
getMaxForRoute
in interface ConnPerRoute
public void setMaxForRoutes(Map<HttpRoute,Integer> map)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |