@Deprecated public class ClientParamsStack extends AbstractHttpParams
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.Constructor and Description |
---|
ClientParamsStack(ClientParamsStack stack)
Deprecated.
Creates a copy of a parameter stack.
|
ClientParamsStack(ClientParamsStack stack,
HttpParams aparams,
HttpParams cparams,
HttpParams rparams,
HttpParams oparams)
Deprecated.
Creates a modified copy of a parameter stack.
|
ClientParamsStack(HttpParams aparams,
HttpParams cparams,
HttpParams rparams,
HttpParams oparams)
Deprecated.
Creates a new parameter stack from elements.
|
Modifier and Type | Method and Description |
---|---|
HttpParams |
copy()
Deprecated.
Does not copy parameters.
|
HttpParams |
getApplicationParams()
Deprecated.
Obtains the application parameters of this stack.
|
HttpParams |
getClientParams()
Deprecated.
Obtains the client parameters of this stack.
|
HttpParams |
getOverrideParams()
Deprecated.
Obtains the override parameters of this stack.
|
Object |
getParameter(String name)
Deprecated.
Obtains a parameter from this stack.
|
HttpParams |
getRequestParams()
Deprecated.
Obtains the request parameters of this stack.
|
boolean |
removeParameter(String name)
Deprecated.
Does not remove a parameter.
|
HttpParams |
setParameter(String name,
Object value)
Deprecated.
Does not set a parameter.
|
getBooleanParameter, getDoubleParameter, getIntParameter, getLongParameter, getNames, isParameterFalse, isParameterTrue, setBooleanParameter, setDoubleParameter, setIntParameter, setLongParameter
public ClientParamsStack(HttpParams aparams, HttpParams cparams, HttpParams rparams, HttpParams oparams)
aparams
- application parameters, or null
cparams
- client parameters, or null
rparams
- request parameters, or null
oparams
- override parameters, or null
public ClientParamsStack(ClientParamsStack stack)
stack
- the stack to copypublic ClientParamsStack(ClientParamsStack stack, HttpParams aparams, HttpParams cparams, HttpParams rparams, HttpParams oparams)
null
,
the corresponding element from the argument stack is used.
There is no copying of parameters.stack
- the stack to modifyaparams
- application parameters, or null
cparams
- client parameters, or null
rparams
- request parameters, or null
oparams
- override parameters, or null
public final HttpParams getApplicationParams()
null
public final HttpParams getClientParams()
null
public final HttpParams getRequestParams()
null
public final HttpParams getOverrideParams()
null
public Object getParameter(String name)
name
- the name of the parameter to obtainnull
if it is not set anywhere in this stackHttpParams.setParameter(String, Object)
public HttpParams setParameter(String name, Object value) throws UnsupportedOperationException
name
- ignoredvalue
- ignoredUnsupportedOperationException
- alwayspublic boolean removeParameter(String name)
name
- ignoredUnsupportedOperationException
- alwayspublic HttpParams copy()
Derived classes may change this behavior.
this
parameter stackCopyright © 2010 - 2020 Adobe. All Rights Reserved