Build 1.0_r1(from source)

org.apache.http.conn.params
Class ConnManagerParamBean

java.lang.Object
  extended by org.apache.http.params.HttpAbstractParamBean
      extended by org.apache.http.conn.params.ConnManagerParamBean

public class ConnManagerParamBean
extends HttpAbstractParamBean

Allows for setting parameters relating to connection managers on HttpParams. This class ensures that the values set on the params are type-safe.


Field Summary
 
Fields inherited from class org.apache.http.params.HttpAbstractParamBean
params
 
Constructor Summary
ConnManagerParamBean(HttpParams params)
           
 
Method Summary
 void setConnectionsPerRoute(ConnPerRouteBean connPerRoute)
           
 void setMaxTotalConnections(int maxConnections)
           
 void setTimeout(long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnManagerParamBean

public ConnManagerParamBean(HttpParams params)
Method Detail

setTimeout

public void setTimeout(long timeout)

setMaxTotalConnections

public void setMaxTotalConnections(int maxConnections)
See Also:
ConnManagerPNames.MAX_TOTAL_CONNECTIONS

setConnectionsPerRoute

public void setConnectionsPerRoute(ConnPerRouteBean connPerRoute)
See Also:
ConnManagerPNames.MAX_CONNECTIONS_PER_ROUTE

Build 1.0_r1(from source)

Please submit a feedback, bug or feature