| |
|
| java.lang.Object org.apache.struts.chain.contexts.ContextWrapper org.apache.struts.chain.contexts.ActionContextBase org.apache.struts.chain.contexts.WebActionContext org.apache.struts.chain.contexts.ServletActionContext
ServletActionContext | public class ServletActionContext extends WebActionContext (Code) | | Implement ActionContext interface while making Servlet API-specific
values available.
|
ServletActionContext | public ServletActionContext(ServletWebContext context)(Code) | | Instantiate this composite by wrapping a ServletWebContext.
Parameters: context - The ServletWebContext to wrap |
ServletActionContext | public ServletActionContext(ServletContext context, HttpServletRequest request, HttpServletResponse response)(Code) | | Instantiate this Context for a given ServletContext,
HttpServletRequest, and HttpServletResponse.
Parameters: context - The instant ServletContext Parameters: request - The instant HttpServletRequest Parameters: response - The instant HttpServletResponse |
getActionServlet | public ActionServlet getActionServlet()(Code) | | Return the ActionServlet for this context.
Our ActionServlet |
getContext | public ServletContext getContext()(Code) | | Return the ServletContext for this context.
Our ServletContext |
getRequest | public HttpServletRequest getRequest()(Code) | | Return the HttpServletRequest for this context.
Our HttpServletRequest |
getResponse | public HttpServletResponse getResponse()(Code) | | Return the HttpServletResponse for this context.
Our HttpServletResponse |
isTokenValid | public boolean isTokenValid(boolean reset)(Code) | | |
release | public void release()(Code) | | |
resetToken | public void resetToken()(Code) | | |
saveToken | public void saveToken()(Code) | | |
servletWebContext | protected ServletWebContext servletWebContext()(Code) | | Provide the ServletWebContext for this composite.
Our ServletWebContext |
setActionServlet | public void setActionServlet(ActionServlet servlet)(Code) | | Set the ActionServlet instance for this context.
Parameters: servlet - Our ActionServlet instance |
setMessageResources | public void setMessageResources(String key, MessageResources resources)(Code) | | Store the mesasage resources for the current module under the given
request attribute key.
Parameters: key - Request attribute key Parameters: resources - Message resouces to store |
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)
|
|
|
|