| org.apache.http.params.HttpParams
All known Subclasses: org.apache.http.params.AbstractHttpParams,
HttpParams | public interface HttpParams (Code) | | Represents a collection of HTTP protocol and framework parameters.
author: Oleg Kalnichevski version: $Revision: 610763 $ since: 4.0 |
copy | HttpParams copy()(Code) | | Creates a copy of these parameters.
a new set of parameters holding the same values as this one |
getBooleanParameter | boolean getBooleanParameter(String name, boolean defaultValue)(Code) | | Returns a
Boolean parameter value with the given name.
If the parameter is not explicitly set, the default value is returned.
Parameters: name - the parent name. Parameters: defaultValue - the default value. a Boolean that represents the value of the parameter. See Also: HttpParams.setBooleanParameter(String,boolean) |
getDoubleParameter | double getDoubleParameter(String name, double defaultValue)(Code) | | Returns a
Double parameter value with the given name.
If the parameter is not explicitly set, the default value is returned.
Parameters: name - the parent name. Parameters: defaultValue - the default value. a Double that represents the value of the parameter. See Also: HttpParams.setDoubleParameter(String,double) |
getIntParameter | int getIntParameter(String name, int defaultValue)(Code) | | Returns an
Integer parameter value with the given name.
If the parameter is not explicitly set, the default value is returned.
Parameters: name - the parent name. Parameters: defaultValue - the default value. a Integer that represents the value of the parameter. See Also: HttpParams.setIntParameter(String,int) |
getLongParameter | long getLongParameter(String name, long defaultValue)(Code) | | Returns a
Long parameter value with the given name.
If the parameter is not explicitly set, the default value is returned.
Parameters: name - the parent name. Parameters: defaultValue - the default value. a Long that represents the value of the parameter. See Also: HttpParams.setLongParameter(String,long) |
getParameter | Object getParameter(String name)(Code) | | Obtains the value of the given parameter.
Parameters: name - the parent name. an object that represents the value of the parameter,null if the parameter is not set or if itis explicitly set to null See Also: HttpParams.setParameter(String,Object) |
isParameterFalse | boolean isParameterFalse(String name)(Code) | | Checks if a boolean parameter is not set or false .
Parameters: name - parameter name true if the parameter is either not set orset to value false,false if it is set to true |
isParameterTrue | boolean isParameterTrue(String name)(Code) | | Checks if a boolean parameter is set to true .
Parameters: name - parameter name true if the parameter is set to value true,false if it is not set or set to false |
removeParameter | boolean removeParameter(String name)(Code) | | Removes the parameter with the specified name.
Parameters: name - parameter name true if the parameter existed and has been removed, false else. |
setBooleanParameter | HttpParams setBooleanParameter(String name, boolean value)(Code) | | Assigns a
Boolean to the parameter with the given name
Parameters: name - parameter name Parameters: value - parameter value |
setDoubleParameter | HttpParams setDoubleParameter(String name, double value)(Code) | | Assigns a
Double to the parameter with the given name
Parameters: name - parameter name Parameters: value - parameter value |
setIntParameter | HttpParams setIntParameter(String name, int value)(Code) | | Assigns an
Integer to the parameter with the given name
Parameters: name - parameter name Parameters: value - parameter value |
setLongParameter | HttpParams setLongParameter(String name, long value)(Code) | | Assigns a
Long to the parameter with the given name
Parameters: name - parameter name Parameters: value - parameter value |
setParameter | HttpParams setParameter(String name, Object value)(Code) | | Assigns the value to the parameter with the given name.
Parameters: name - parameter name Parameters: value - parameter value |
|
|