Deprecated
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
HttpClient.
These provide client specific defaults.
HttpClient.
These can be used to set parameters that cannot be overridden
on a per-request basis.
null. That is preferable over
an empty params collection, since it avoids searching the empty collection
when looking up parameters.
| Modifier and Type | Field and Description |
|---|---|
| protected final HttpParams | applicationParams
The application parameter collection, or |
| protected final HttpParams | clientParams
The client parameter collection, or |
| protected final HttpParams | overrideParams
The override parameter collection, or |
| protected final HttpParams | requestParams
The request parameter collection, or |
| Access | Constructor and Description |
|---|---|
| public | ClientParamsStack(final HttpParams
application parameters, or aparams, final HttpParams nullclient parameters, or cparams, final HttpParams nullrequest parameters, or rparams, final HttpParams nulloverride parameters, or oparams)null
Deprecated
as a consequence of
Creates a new parameter stack from elements.
HttpParams being deprecated.
|
| public | ClientParamsStack(final ClientParamsStack
the stack to copy stack)
Deprecated
as a consequence of
Creates a copy of a parameter stack.
ClientParamsStack being deprecated.
|
| public | ClientParamsStack(final ClientParamsStack
the stack to modify stack, final HttpParams application parameters, or aparams, final HttpParams nullclient parameters, or cparams, final HttpParams nullrequest parameters, or rparams, final HttpParams nulloverride parameters, or oparams)null
Deprecated
as a consequence of
Creates a modified copy of a parameter stack.
ClientParamsStack and HttpParams being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public HttpParams | Returns: this parameter stackImplements org.
Deprecated
as a consequence of
Does not copy parameters.
HttpParams being deprecated.
|
| public final HttpParams | Returns: the application parameters, ornull
Deprecated
as a consequence of
Obtains the application parameters of this stack.
HttpParams being deprecated.
|
| public final HttpParams | Returns: the client parameters, ornull
Deprecated
as a consequence of
Obtains the client parameters of this stack.
HttpParams being deprecated.
|
| public final HttpParams | Returns: the override parameters, ornull
Deprecated
as a consequence of
Obtains the override parameters of this stack.
HttpParams being deprecated.
|
| public Object | Returns: the highest-priority value for that parameter, ornull if it is not set anywhere in this stackthe name of the parameter to obtain name)Implements org. |
| public final HttpParams | Returns: the request parameters, ornull
Deprecated
as a consequence of
Obtains the request parameters of this stack.
HttpParams being deprecated.
|
| public boolean | Returns: nothingignored name)Implements org. |
| public HttpParams | Returns: nothingignored name, final Object ignored value)Implements org.
Deprecated
as a consequence of
Does not set a parameter.
HttpParams being deprecated.
|
| applicationParams | back to summary |
|---|---|
| protected final HttpParams applicationParams
Deprecated as a consequence of The application parameter collection, or | |
| clientParams | back to summary |
|---|---|
| protected final HttpParams clientParams
Deprecated as a consequence of The client parameter collection, or | |
| overrideParams | back to summary |
|---|---|
| protected final HttpParams overrideParams
Deprecated as a consequence of The override parameter collection, or | |
| requestParams | back to summary |
|---|---|
| protected final HttpParams requestParams
Deprecated as a consequence of The request parameter collection, or | |
| ClientParamsStack | back to summary |
|---|---|
| public ClientParamsStack(final HttpParams aparams, final HttpParams cparams, final HttpParams rparams, final HttpParams oparams)
Deprecated as a consequence of Creates a new parameter stack from elements. The arguments will be stored as-is, there is no copying to prevent modification.
| |
| ClientParamsStack | back to summary |
|---|---|
| public ClientParamsStack(final ClientParamsStack stack)
Deprecated as a consequence of Creates a copy of a parameter stack. The new stack will have the exact same entries as the argument stack. There is no copying of parameters.
| |
| ClientParamsStack | back to summary |
|---|---|
| public ClientParamsStack(final ClientParamsStack stack, final HttpParams aparams, final HttpParams cparams, final HttpParams rparams, final HttpParams oparams)
Deprecated as a consequence of Creates a modified copy of a parameter stack.
The new stack will contain the explicitly passed elements.
For elements where the explicit argument is
| |
| copy | back to summary |
|---|---|
| public HttpParams copy() Implements org. Deprecated as a consequence of Does not copy parameters. Parameter stacks are lightweight objects, expected to be instantiated as needed and to be used only in a very specific context. On top of that, they are read-only. The typical copy operation to prevent accidental modification of parameters passed by the application to a framework object is therefore pointless and disabled. Create a new stack if you really need a copy. Derived classes may change this behavior.
| |
| getApplicationParams | back to summary |
|---|---|
| public final HttpParams getApplicationParams()
Deprecated as a consequence of Obtains the application parameters of this stack.
| |
| getClientParams | back to summary |
|---|---|
| public final HttpParams getClientParams()
Deprecated as a consequence of Obtains the client parameters of this stack.
| |
| getOverrideParams | back to summary |
|---|---|
| public final HttpParams getOverrideParams()
Deprecated as a consequence of Obtains the override parameters of this stack.
| |
| getParameter | back to summary |
|---|---|
| public Object getParameter(final String name) Implements org. Obtains a parameter from this stack. See class comment for search order. | |
| getRequestParams | back to summary |
|---|---|
| public final HttpParams getRequestParams()
Deprecated as a consequence of Obtains the request parameters of this stack.
| |
| removeParameter | back to summary |
|---|---|
| public boolean removeParameter(final String name) Implements org. Does not remove a parameter. Parameter stacks are read-only. It is possible, though discouraged, to access and modify specific stack entries. Derived classes may change this behavior.
| |
| setParameter | back to summary |
|---|---|
| public HttpParams setParameter(final String name, final Object value) throws UnsupportedOperationException Implements org. Deprecated as a consequence of Does not set a parameter. Parameter stacks are read-only. It is possible, though discouraged, to access and modify specific stack entries. Derived classes may change this behavior.
| |