Deprecated
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
HttpParams interface.
Please note access to the internal structures of this class is not synchronized and therefore this class may be thread-unsafe.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | parameters
Map of HTTP parameters that this collection contains. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | |
| public HttpParams | Returns: a new set of params holding a copy of the local parameters in this object.Implements org.
Deprecated
as a consequence of
Creates a copy of these parameters.
HttpParams being deprecated.
|
| public void | copyParams(final HttpParams
the parameters to which to copy target)
Deprecated
as a consequence of
Copies the locally defined parameters to the argument parameters.
HttpParams being deprecated.
|
| public Set | Returns: the names, as a Set<String>Overrides org. Implements org. |
| public Object | getParameter(final String
the parent name. name)Implements org. |
| public boolean | Returns: true if parameter is defined and non-nullparameter name name)Is the parameter set? |
| public boolean | Returns: true if parameter is defined and non-nullparameter name name)Is the parameter set in this object? |
| public boolean | removeParameter(final String
parameter name name)Implements org. |
| public HttpParams | setParameter(final String
parameter name name, final Object parameter value value)Implements org.
Deprecated
as a consequence of
Assigns the value to the parameter with the given name.
HttpParams being deprecated.
|
| public void | setParameters(final String[]
array of parameter names names, final Object parameter value value)Assigns the value to all the parameter with the given names |
| public String |
| parameters | back to summary |
|---|---|
| private final Map<String, Object> parameters Map of HTTP parameters that this collection contains. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BasicHttpParams | back to summary |
|---|---|
| public BasicHttpParams() | |
| clear | back to summary |
|---|---|
| public void clear() Removes all parameters from this collection. | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides java. Clones the instance.
Uses
| |
| copy | back to summary |
|---|---|
| public HttpParams copy() Implements org. Deprecated as a consequence of Creates a copy of these parameters.
This implementation calls
| |
| copyParams | back to summary |
|---|---|
| public void copyParams(final HttpParams target)
Deprecated as a consequence of Copies the locally defined parameters to the argument parameters.
This method is called from
| |
| getNames | back to summary |
|---|---|
| public Set Overrides org. Implements org. Returns the current set of names. Changes to the underlying HttpParams are not reflected in the set - it is a snapshot. | |
| getParameter | back to summary |
|---|---|
| public Object getParameter(final String name) Implements org. Doc from org. Obtains the value of the given parameter. | |
| isParameterSet | back to summary |
|---|---|
| public boolean isParameterSet(final String name) Is the parameter set?
Uses
Also @see
| |
| isParameterSetLocally | back to summary |
|---|---|
| public boolean isParameterSetLocally(final String name) Is the parameter set in this object? The parameter value is fetched directly.
Also @see
| |
| removeParameter | back to summary |
|---|---|
| public boolean removeParameter(final String name) Implements org. Doc from org. Removes the parameter with the specified name. | |
| setParameter | back to summary |
|---|---|
| public HttpParams setParameter(final String name, final Object value) Implements org. Doc from org. Deprecated as a consequence of Assigns the value to the parameter with the given name. | |
| setParameters | back to summary |
|---|---|
| public void setParameters(final String[] names, final Object value) Assigns the value to all the parameter with the given names | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |