java.lang.Object | ||
↳ | org.apache.http.params.AbstractHttpParams | |
↳ | org.apache.http.params.BasicHttpParams |
This class represents a collection of HTTP protocol parameters. 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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Removes all parameters from this collection.
| |||||||||||
Creates and returns a copy of this
Object . | |||||||||||
Creates a copy of these parameters.
| |||||||||||
Assigns the value to all the parameter with the given names
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Copies the locally defined parameters to the argument parameters.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class org.apache.http.params.AbstractHttpParams
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface org.apache.http.params.HttpParams
|
Creates and returns a copy of this Object
. The default
implementation returns a so-called "shallow" copy: It creates a new
instance of the same class and then copies the field values (including
object references) from this instance to the new instance. A "deep" copy,
in contrast, would also recursively clone nested objects. A subclass that
needs to implement this kind of cloning should call super.clone()
to create the new instance and then create deep copies of the nested,
mutable objects.
CloneNotSupportedException |
---|
Creates a copy of these parameters.
The implementation here instantiates BasicHttpParams
,
then calls copyParams(HttpParams)
to populate the copy.
Assigns the value to all the parameter with the given names
names | array of parameter name |
---|---|
value | parameter value |
Copies the locally defined parameters to the argument parameters.
This method is called from copy()
.
target | the parameters to which to copy |
---|