| java.lang.Object org.apache.commons.httpclient.params.DefaultHttpParams org.apache.commons.httpclient.params.HostParams
HostParams | public class HostParams extends DefaultHttpParams (Code) | | This class represents a collection of HTTP protocol parameters applicable to
org.apache.commons.httpclient.HostConfiguration instances of HostConfiguration .
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 version: $Revision: 480424 $ since: 3.0 |
HostParams | public HostParams()(Code) | | Creates a new collection of parameters with the collection returned
by
HostParams.getDefaultParams() as a parent. The collection will defer
to its parent for a default value if a particular parameter is not
explicitly set in the collection itself.
See Also: HostParams.getDefaultParams() |
HostParams | public HostParams(HttpParams defaults)(Code) | | Creates a new collection of parameters with the given parent.
The collection will defer to its parent for a default value
if a particular parameter is not explicitly set in the collection
itself.
Parameters: defaults - the parent collection to defer to, if a parameteris not explictly set in the collection itself. See Also: HostParams.getDefaultParams() |
getVirtualHost | public String getVirtualHost()(Code) | | Returns the virtual host name.
The virtual host name |
setVirtualHost | public void setVirtualHost(String hostname)(Code) | | Sets the virtual host name.
Parameters: hostname - The host name |
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)
|
|
|