public class ServletValueStack extends ValueStack
ValueStack.ValueHolderclasses, STACK_NAME, WEBWORK_VALUE_STACK_LOG_EXCEPTIONS| Constructor and Description |
|---|
ServletValueStack() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
findAttribute(String id)
Mimic the behaviour of the findAttribute method in the PageContext This method is used when there is no
pageContext set for this stack and the findInContext method is called.
|
protected Object |
findInContext(String id)
Find a value by id.
|
protected Object |
getParameter(String aName)
Get parameter directly from request
|
static ServletValueStack |
getStack(javax.servlet.jsp.PageContext context)
Get the value stack for a given page context.
|
static ServletValueStack |
getStack(javax.servlet.ServletRequest request)
Get the value stack for a given request.
|
void |
setContext(javax.servlet.jsp.PageContext context)
Set the page context that should be associated with this stack.
|
clearMethods, findMethod, findValue, findValue, getMethod, isEmpty, iterator, peek, popValue, pushValue, size, test, toString, unwrappublic static ServletValueStack getStack(javax.servlet.ServletRequest request)
request - the request for which a stack shall be returnedpublic static ServletValueStack getStack(javax.servlet.jsp.PageContext context)
context - the page context to associate with the stackpublic void setContext(javax.servlet.jsp.PageContext context)
protected Object findInContext(String id)
ValueStackfindInContext in class ValueStackid - the value id.protected Object findAttribute(String id)
protected Object getParameter(String aName)
getParameter in class ValueStackCopyright © 2013 Atlassian. All Rights Reserved.