|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.params.AbstractHttpParams org.apache.http.params.BasicHttpParams org.apache.http.params.SyncBasicHttpParams
@Contract(threading=SAFE) @Deprecated public class SyncBasicHttpParams
Thread-safe extension of the BasicHttpParams
.
Constructor Summary | |
---|---|
SyncBasicHttpParams()
Deprecated. |
Method Summary | |
---|---|
void |
clear()
Deprecated. Removes all parameters from this collection. |
Object |
clone()
Deprecated. Clones the instance. |
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 |
Methods inherited from class org.apache.http.params.BasicHttpParams |
---|
copy, copyParams, getNames, toString |
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 SyncBasicHttpParams()
Method Detail |
---|
public boolean removeParameter(String name)
HttpParams
removeParameter
in interface HttpParams
removeParameter
in class BasicHttpParams
name
- parameter name
public HttpParams setParameter(String name, Object value)
HttpParams
setParameter
in interface HttpParams
setParameter
in class BasicHttpParams
name
- parameter namevalue
- parameter valuepublic Object getParameter(String name)
HttpParams
getParameter
in interface HttpParams
getParameter
in class BasicHttpParams
name
- the parent name.
null
if the parameter is not set or if it
is explicitly set to null
HttpParams.setParameter(String, Object)
public boolean isParameterSet(String name)
BasicHttpParams
Uses BasicHttpParams.getParameter(String)
(which is overrideable) to
fetch the parameter value, if any.
Also @see BasicHttpParams.isParameterSetLocally(String)
isParameterSet
in class BasicHttpParams
name
- parameter name
public boolean isParameterSetLocally(String name)
BasicHttpParams
The parameter value is fetched directly.
Also @see BasicHttpParams.isParameterSet(String)
isParameterSetLocally
in class BasicHttpParams
name
- parameter name
public void setParameters(String[] names, Object value)
BasicHttpParams
setParameters
in class BasicHttpParams
names
- array of parameter namesvalue
- parameter valuepublic void clear()
BasicHttpParams
clear
in class BasicHttpParams
public Object clone() throws CloneNotSupportedException
BasicHttpParams
BasicHttpParams.copyParams(HttpParams)
to copy the parameters.
clone
in class BasicHttpParams
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |