| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.params.AbstractHttpParams
org.apache.http.params.BasicHttpParams
@Deprecated @Contract(threading=SAFE) public class BasicHttpParams
Default implementation of HttpParams interface.
 
Please note access to the internal structures of this class is not synchronized and therefore this class may be thread-unsafe.
| Constructor Summary | |
|---|---|
| BasicHttpParams()Deprecated. | |
| Method Summary | |
|---|---|
|  void | clear()Deprecated. Removes all parameters from this collection. | 
|  Object | clone()Deprecated. Clones the instance. | 
|  HttpParams | copy()Deprecated. Creates a copy of these parameters. | 
|  void | copyParams(HttpParams target)Deprecated. Copies the locally defined parameters to the argument parameters. | 
|  Set<String> | getNames()Deprecated. Returns the current set of names. | 
|  Object | getParameter(String name)Deprecated. Obtains the value of the given parameter. | 
|  boolean | isParameterSet(String name)Deprecated. Is the parameter set? | 
|  boolean | isParameterSetLocally(String name)Deprecated. Is the parameter set in this object? | 
|  boolean | removeParameter(String name)Deprecated. Removes the parameter with the specified name. | 
|  HttpParams | setParameter(String name,
             Object value)Deprecated. Assigns the value to the parameter with the given name. | 
|  void | setParameters(String[] names,
              Object value)Deprecated. Assigns the value to all the parameter with the given names | 
|  String | toString()Deprecated. | 
| Methods inherited from class org.apache.http.params.AbstractHttpParams | 
|---|
| getBooleanParameter, getDoubleParameter, getIntParameter, getLongParameter, isParameterFalse, isParameterTrue, setBooleanParameter, setDoubleParameter, setIntParameter, setLongParameter | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public BasicHttpParams()
| Method Detail | 
|---|
public Object getParameter(String name)
HttpParams
getParameter in interface HttpParamsname - the parent name.
null if the parameter is not set or if it
          is explicitly set to nullHttpParams.setParameter(String, Object)
public HttpParams setParameter(String name,
                               Object value)
HttpParams
setParameter in interface HttpParamsname - parameter namevalue - parameter valuepublic boolean removeParameter(String name)
HttpParams
removeParameter in interface HttpParamsname - parameter name
public void setParameters(String[] names,
                          Object value)
names - array of parameter namesvalue - parameter valuepublic boolean isParameterSet(String name)
 Uses getParameter(String) (which is overrideable) to
 fetch the parameter value, if any.
 
 Also @see isParameterSetLocally(String)
name - parameter name
public boolean isParameterSetLocally(String name)
The parameter value is fetched directly.
 Also @see isParameterSet(String)
name - parameter name
public void clear()
public HttpParams copy()
clone().
copy in interface HttpParamsUnsupportedOperationException - if the clone() fails
public Object clone()
             throws CloneNotSupportedException
copyParams(HttpParams) to copy the parameters.
clone in class ObjectCloneNotSupportedExceptionpublic void copyParams(HttpParams target)
clone().
target - the parameters to which to copypublic Set<String> getNames()
getNames in interface HttpParamsNamesgetNames in class AbstractHttpParamspublic String toString()
toString in class Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||