Home | History | Annotate | Download | only in client

Lines Matching defs:stack

42  * Represents a stack of parameter collections.
43 * When retrieving a parameter, the stack is searched in a fixed order
44 * and the first match returned. Setting parameters via the stack is
45 * not supported. To minimize overhead, the stack has a fixed size and
47 * The supported stack entries, sorted by increasing priority, are:
69 * Each stack entry may be <code>null</code>. That is preferable over
101 * Creates a new parameter stack from elements.
120 * Creates a copy of a parameter stack.
121 * The new stack will have the exact same entries as the argument stack.
124 * @param stack the stack to copy
126 public ClientParamsStack(ClientParamsStack stack) {
127 this(stack.getApplicationParams(),
128 stack.getClientParams(),
129 stack.getRequestParams(),
130 stack.getOverrideParams());
135 * Creates a modified copy of a parameter stack.
136 * The new stack will contain the explicitly passed elements.
138 * the corresponding element from the argument stack is used.
141 * @param stack the stack to modify
147 public ClientParamsStack(ClientParamsStack stack,
150 this((aparams != null) ? aparams : stack.getApplicationParams(),
151 (cparams != null) ? cparams : stack.getClientParams(),
152 (rparams != null) ? rparams : stack.getRequestParams(),
153 (oparams != null) ? oparams : stack.getOverrideParams());
158 * Obtains the application parameters of this stack.
167 * Obtains the client parameters of this stack.
176 * Obtains the request parameters of this stack.
185 * Obtains the override parameters of this stack.
195 * Obtains a parameter from this stack.
201 * <code>null</code> if it is not set anywhere in this stack
233 * to access and modify specific stack entries.
247 ("Setting parameters in a stack is not supported.");
254 * to access and modify specific stack entries.
265 ("Removing parameters in a stack is not supported.");
276 * Create a new stack if you really need a copy.
280 * @return <code>this</code> parameter stack