| |
|
| java.lang.Object org.apache.struts.chain.contexts.ContextWrapper org.apache.struts.chain.contexts.ActionContextBase org.apache.struts.chain.contexts.WebActionContext
All known Subclasses: org.apache.struts.chain.contexts.ServletActionContext,
WebActionContext | public class WebActionContext extends ActionContextBase (Code) | | Provide a Subclass of ActionContextBase which is understood to be
wrapping an instance of org.apache.commons.chain.web.WebContext .
|
Constructor Summary | |
public | WebActionContext(WebContext context) Instantiate this composite by wrapping an instance of WebContext. |
WebActionContext | public WebActionContext(WebContext context)(Code) | | Instantiate this composite by wrapping an instance of WebContext.
Parameters: context - The WebContext to wrap |
getApplicationScope | public Map getApplicationScope()(Code) | | |
getHeader | public Map getHeader()(Code) | | Return an immutable Map that maps header names to the first (or
only) header value (as a String).
A immutable Map of web request header names |
getHeaderValues | public Map getHeaderValues()(Code) | | Return an immutable Map that maps header names to the set of all
values specified in the request (as a String array). Header names must
be matched in a case-insensitive manner.
An immutable Map of web request header values |
getInitParam | public Map getInitParam()(Code) | | Return an immutable Map that maps context application
initialization parameters to their values.
An immutable Map of web context initialization parameters |
getParam | public Map getParam()(Code) | | Return a map whose keys are String request parameter
names and whose values are String values. For
parameters which were submitted with more than one value, only one
value will be returned, as if one called
ServletRequest.getParameter(String)
A map of web request parameters |
getParamValues | public Map getParamValues()(Code) | | Return a map whose keys are String request parameter
names and whose values are String[] values.
A map of web request parameter values (as an array) |
getParameterMap | public Map getParameterMap()(Code) | | |
getRequestScope | public Map getRequestScope()(Code) | | |
getSessionScope | public Map getSessionScope()(Code) | | |
release | public void release()(Code) | | |
webContext | protected WebContext webContext()(Code) | | Provide the wrapped WebContext for this composite.
The wrapped WebContext |
Methods inherited from org.apache.struts.chain.contexts.ActionContextBase | public void addActionMessages(String key, ActionMessages messages)(Code)(Java Doc) public void addErrors(ActionMessages errors)(Code)(Java Doc) public void addMessages(ActionMessages messages)(Code)(Java Doc) public ActionForm findOrCreateActionForm(String formName, String scopeName) throws IllegalAccessException, InstantiationException(Code)(Java Doc) public ActionForm findOrCreateActionForm(String formName, String scopeName, ModuleConfig moduleConfig) throws IllegalAccessException, InstantiationException(Code)(Java Doc) public String generateToken()(Code)(Java Doc) public Action getAction()(Code)(Java Doc) public ActionConfig getActionConfig()(Code)(Java Doc) public ActionForm getActionForm()(Code)(Java Doc) abstract public Map getApplicationScope()(Code)(Java Doc) public Boolean getCancelled()(Code)(Java Doc) public ActionMessages getErrors()(Code)(Java Doc) public Exception getException()(Code)(Java Doc) public Boolean getFormValid()(Code)(Java Doc) public ForwardConfig getForwardConfig()(Code)(Java Doc) public String getInclude()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Log getLogger()(Code)(Java Doc) public MessageResources getMessageResources()(Code)(Java Doc) public MessageResources getMessageResources(String key)(Code)(Java Doc) public ActionMessages getMessages()(Code)(Java Doc) public ModuleConfig getModuleConfig()(Code)(Java Doc) abstract public Map getRequestScope()(Code)(Java Doc) public Map getScope(String scopeName)(Code)(Java Doc) abstract public Map getSessionScope()(Code)(Java Doc) protected String getTokenGeneratorId()(Code)(Java Doc) public boolean isTokenValid()(Code)(Java Doc) public boolean isTokenValid(boolean reset)(Code)(Java Doc) public void release()(Code)(Java Doc) public void resetToken()(Code)(Java Doc) public void saveActionMessages(String key, ActionMessages messages)(Code)(Java Doc) public void saveActionMessages(String scopeId, String key, ActionMessages messages)(Code)(Java Doc) public void saveErrors(ActionMessages errors)(Code)(Java Doc) public void saveMessages(ActionMessages messages)(Code)(Java Doc) public void saveMessages(String scope, ActionMessages messages)(Code)(Java Doc) public void saveToken()(Code)(Java Doc) public void setAction(Action action)(Code)(Java Doc) public void setActionConfig(ActionConfig config)(Code)(Java Doc) public void setActionForm(ActionForm form)(Code)(Java Doc) public void setCancelled(Boolean cancelled)(Code)(Java Doc) public void setException(Exception e)(Code)(Java Doc) public void setFormValid(Boolean valid)(Code)(Java Doc) public void setForwardConfig(ForwardConfig forward)(Code)(Java Doc) public void setInclude(String include)(Code)(Java Doc) public void setLocale(Locale locale)(Code)(Java Doc) public void setLogger(Log logger)(Code)(Java Doc) public void setMessageResources(MessageResources messageResources)(Code)(Java Doc) public void setModuleConfig(ModuleConfig config)(Code)(Java Doc)
|
|
|
|