Deprecated
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
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.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpParams | defaults
Deprecated
as a consequence of
HttpParams being deprecated.
|
| private final HttpParams | local
Deprecated
as a consequence of
HttpParams being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | DefaultedHttpParams(final HttpParams
the mutable set of HttpParams local, final HttpParams the default set of HttpParams, not mutated by this class defaults)
Deprecated
as a consequence of
Create the defaulted set of HttpParams.
HttpParams being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public HttpParams | copy()
Implements org.
Deprecated
as a consequence of
Creates a copy of the local collection with the same default
HttpParams being deprecated.
|
| public Set | |
| public HttpParams | Returns: the default HttpParams collection
Deprecated
as a consequence of
HttpParams being deprecated.
|
| public Set | |
| public Set | Returns: the combined set of names, as a Set<String>Overrides org. Implements org. |
| private Set | |
| public Object | getParameter(final String
the parent name. name)Implements org. |
| 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
Sets the parameter in the local collection.
HttpParams being deprecated.
|
| defaults | back to summary |
|---|---|
| private final HttpParams defaults
Deprecated as a consequence of | |
| local | back to summary |
|---|---|
| private final HttpParams local
Deprecated as a consequence of | |
| DefaultedHttpParams | back to summary |
|---|---|
| public DefaultedHttpParams(final HttpParams local, final HttpParams defaults)
Deprecated as a consequence of Create the defaulted set of HttpParams.
| |
| copy | back to summary |
|---|---|
| public HttpParams copy() Implements org. Deprecated as a consequence of Creates a copy of the local collection with the same default
| |
| getDefaultNames | back to summary |
|---|---|
| public Set Returns the current set of defaults names. Changes to the underlying HttpParams are not reflected in the set - it is a snapshot.
| |
| getDefaults | back to summary |
|---|---|
| public HttpParams getDefaults()
Deprecated as a consequence of
| |
| getLocalNames | back to summary |
|---|---|
| public Set Returns the current set of local names. Changes to the underlying HttpParams are not reflected in the set - it is a snapshot.
| |
| getNames | back to summary |
|---|---|
| public Set Overrides org. Implements org. Returns the current set of names from both the local and default HttpParams instances. Changes to the underlying HttpParams intances are not reflected in the set - it is a snapshot.
| |
| getNames | back to summary |
|---|---|
| private Set Deprecated as a consequence of | |
| getParameter | back to summary |
|---|---|
| public Object getParameter(final String name) Implements org. 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.
| |
| removeParameter | back to summary |
|---|---|
| public boolean removeParameter(final String name) Implements org. Attempts to remove the parameter from the local collection. This method does not modify the default collection.
| |
| setParameter | back to summary |
|---|---|
| public HttpParams setParameter(final String name, final Object value) Implements org. Deprecated as a consequence of Sets the parameter in the local collection. This method does not modify the default collection.
| |