org.apache.http.params.DefaultedHttpParams
HttpParams implementation that delegates resolution of a parameter
to the given default HttpParams instance if the parameter is not
present in the local one. The state of the local collection can be mutated,
whereas the default collection is treated as read-only.
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
copy,
getBooleanParameter,
getDoubleParameter,
getIntParameter,
getLongParameter,
getParameter,
isParameterFalse,
isParameterTrue,
removeParameter,
setBooleanParameter,
setDoubleParameter,
setIntParameter,
setLongParameter,
setParameter
Details
Public Constructors
Public Methods
Creates a copy of the local collection with the same default
public
Object
getParameter(String name)
Retrieves the value of the parameter from the local collection and, if the
parameter is not set locally, delegates its resolution to the default
collection.
public
boolean
removeParameter(String name)
Attempts to remove the parameter from the local collection. This method
does not modify the default collection.
Sets the parameter in the local collection. This method does not
modify the default collection.