| |
|
| java.lang.Object org.apache.commons.httpclient.params.DefaultHttpParams org.apache.commons.httpclient.params.HttpConnectionParams org.apache.commons.httpclient.params.HttpConnectionManagerParams
HttpConnectionManagerParams | public class HttpConnectionManagerParams extends HttpConnectionParams (Code) | | This class represents a collection of HTTP protocol parameters applicable to
org.apache.commons.httpclient.HttpConnectionManager HTTP connection managers .
Protocol parameters may be linked together to form a hierarchy. If a particular
parameter value has not been explicitly defined in the collection itself, its
value will be drawn from the parent collection of parameters.
author: Oleg Kalnichevski author: Michael Becke version: $Revision: 480424 $ since: 3.0 |
MAX_TOTAL_CONNECTIONS | final public static String MAX_TOTAL_CONNECTIONS(Code) | | Defines the maximum number of connections allowed overall. This value only applies
to the number of connections from a particular instance of HttpConnectionManager.
This parameter expects a value of type
Integer .
|
getMaxConnectionsPerHost | public int getMaxConnectionsPerHost(HostConfiguration hostConfiguration)(Code) | | Gets the maximum number of connections to be used for a particular host config. If
the value has not been specified for the given host the default value will be
returned.
Parameters: hostConfiguration - The host config. The maximum number of connections to be used for the given host config. See Also: HttpConnectionManagerParams.MAX_HOST_CONNECTIONS |
setDefaultMaxConnectionsPerHost | public void setDefaultMaxConnectionsPerHost(int maxHostConnections)(Code) | | Sets the default maximum number of connections allowed for a given
host config.
Parameters: maxHostConnections - The default maximum. See Also: HttpConnectionManagerParams.MAX_HOST_CONNECTIONS |
Methods inherited from org.apache.commons.httpclient.params.DefaultHttpParams | public void clear()(Code)(Java Doc) public Object clone() throws CloneNotSupportedException(Code)(Java Doc) public boolean getBooleanParameter(String name, boolean defaultValue)(Code)(Java Doc) public static HttpParams getDefaultParams()(Code)(Java Doc) public synchronized HttpParams getDefaults()(Code)(Java Doc) public double getDoubleParameter(String name, double defaultValue)(Code)(Java Doc) public int getIntParameter(String name, int defaultValue)(Code)(Java Doc) public long getLongParameter(String name, long defaultValue)(Code)(Java Doc) public synchronized Object getParameter(String name)(Code)(Java Doc) public boolean isParameterFalse(String name)(Code)(Java Doc) public boolean isParameterSet(String name)(Code)(Java Doc) public boolean isParameterSetLocally(String name)(Code)(Java Doc) public boolean isParameterTrue(String name)(Code)(Java Doc) public void setBooleanParameter(String name, boolean value)(Code)(Java Doc) public synchronized void setDefaults(HttpParams params)(Code)(Java Doc) public void setDoubleParameter(String name, double value)(Code)(Java Doc) public static void setHttpParamsFactory(HttpParamsFactory httpParamsFactory)(Code)(Java Doc) public void setIntParameter(String name, int value)(Code)(Java Doc) public void setLongParameter(String name, long value)(Code)(Java Doc) public synchronized void setParameter(String name, Object value)(Code)(Java Doc) public synchronized void setParameters(String[] names, Object value)(Code)(Java Doc)
|
|
|
|