API Overview API Index Package Overview Direct link to this page
Struts 1.3
  org.apache.struts.chain.contexts. WebActionContext View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ContextWrapper
          ActionContextBase
              WebActionContext
Implements
Subclasses
Description
public class WebActionContext
  Provide a Subclass of ActionContextBase which is understood to be wrapping an instance of org.apache.commons.chain.web.WebContext.
See also:   
Constructors
public WebActionContext (WebContext context)
  Instantiate this composite by wrapping an instance of WebContext.
Methods
Hide/Show inherited methods
public void addActionMessages (String key, ActionMessages messages) [Inherited From ActionContextBase]
  Add the given messages to a cache stored in this Context, under key.
public void addErrors (ActionMessages errors) [Inherited From ActionContextBase]
public void addMessages (ActionMessages messages) [Inherited From ActionContextBase]
public void clear () [Inherited From ContextWrapper]
public boolean containsKey (Object o) [Inherited From ContextWrapper]
public boolean containsValue (Object o) [Inherited From ContextWrapper]
public Set entrySet () [Inherited From ContextWrapper]
public ActionForm findOrCreateActionForm (String formName, String scopeName) throws IllegalAccessException InstantiationException [Inherited From ActionContextBase]
  Using this ActionContext's default ModuleConfig, return an existing ActionForm in the specified scope, or create a new one and add it to the specified scope.
public ActionForm findOrCreateActionForm (String formName, String scopeName, ModuleConfig moduleConfig) throws IllegalAccessException InstantiationException [Inherited From ActionContextBase]
  In the context of the given ModuleConfig and this ActionContext, look for an existing ActionForm in the specified scope.
public String generateToken () [Inherited From ActionContextBase]
public Object get (Object key) [Inherited From ContextWrapper]
public Action getAction () [Inherited From ActionContextBase]
public ActionConfig getActionConfig () [Inherited From ActionContextBase]
public ActionForm getActionForm () [Inherited From ActionContextBase]
public Map getApplicationScope () [Specified in ActionContextBase]
protected Context getBaseContext () [Inherited From ContextWrapper]
  Provide the underlying Context for this composite.
public Boolean getCancelled () [Overrides ActionContextBase]
public ActionMessages getErrors () [Inherited From ActionContextBase]
public Exception getException () [Inherited From ActionContextBase]
public Boolean getFormValid () [Inherited From ActionContextBase]
public ForwardConfig getForwardConfig () [Inherited From ActionContextBase]
public Map getHeader ()
  Return an immutable Map that maps header names to the first (or only) header value (as a String).
public Map getHeaderValues ()
  Return an immutable Map that maps header names to the set of all values specified in the request (as a String array).
public String getInclude () [Inherited From ActionContextBase]
public Map getInitParam ()
  Return an immutable Map that maps context application initialization parameters to their values.
public Locale getLocale () [Inherited From ActionContextBase]
public Log getLogger () [Inherited From ActionContextBase]
  Provide the currently configured commons-logging Log instance.
public MessageResources getMessageResources () [Inherited From ActionContextBase]
public MessageResources getMessageResources (String key) [Inherited From ActionContextBase]
public ActionMessages getMessages () [Inherited From ActionContextBase]
public ModuleConfig getModuleConfig () [Overrides ActionContextBase]
 
public Map getParam ()
  Return a map whose keys are String request parameter names and whose values are String values.
public Map getParameterMap ()
public Map getParamValues ()
  Return a map whose keys are String request parameter names and whose values are String[] values.
public Map getRequestScope () [Specified in ActionContextBase]
public Map getScope (String scopeName) [Inherited From ActionContextBase]
public Map getSessionScope () [Specified in ActionContextBase]
protected String getTokenGeneratorId () [Inherited From ActionContextBase]
public boolean isEmpty () [Inherited From ContextWrapper]
public boolean isTokenValid () [Inherited From ActionContextBase]
public boolean isTokenValid (boolean reset) [Inherited From ActionContextBase]
public Set keySet () [Inherited From ContextWrapper]
public Object put (Object key, Object value) [Inherited From ContextWrapper]
public void putAll (Map map) [Inherited From ContextWrapper]
public void release () [Overrides ActionContextBase]
public Object remove (Object key) [Inherited From ContextWrapper]
public void resetToken () [Inherited From ActionContextBase]
public void saveActionMessages (String key, ActionMessages messages) [Inherited From ActionContextBase]
  Save the given ActionMessages into the request scope under the given key, clearing the attribute if the messages are empty or null.
public void saveActionMessages (String scopeId, String key, ActionMessages messages) [Inherited From ActionContextBase]
  Save the given messages into the map identified by the given scopeId under the given key.
public void saveErrors (ActionMessages errors) [Inherited From ActionContextBase]
public void saveMessages (ActionMessages messages) [Inherited From ActionContextBase]
public void saveMessages (String scope, ActionMessages messages) [Inherited From ActionContextBase]
  Adapt a legacy form of SaveMessages to the ActionContext API by storing the ActoinMessages under the default scope.
public void saveToken () [Inherited From ActionContextBase]
public void setAction (Action action) [Inherited From ActionContextBase]
public void setActionConfig (ActionConfig config) [Inherited From ActionContextBase]
public void setActionForm (ActionForm form) [Inherited From ActionContextBase]
public void setCancelled (Boolean cancelled) [Overrides ActionContextBase]
public void setException (Exception e) [Inherited From ActionContextBase]
public void setFormValid (Boolean valid) [Inherited From ActionContextBase]
public void setForwardConfig (ForwardConfig forward) [Inherited From ActionContextBase]
public void setInclude (String include) [Inherited From ActionContextBase]
public void setLocale (Locale locale) [Inherited From ActionContextBase]
public void setLogger (Log logger) [Inherited From ActionContextBase]
  Set the commons-logging Log instance which should be used to LOG messages.
public void setMessageResources (MessageResources messageResources) [Inherited From ActionContextBase]
public void setModuleConfig (ModuleConfig moduleConfig) [Overrides ActionContextBase]
public int size () [Inherited From ContextWrapper]
public Collection values () [Inherited From ContextWrapper]
protected WebContext webContext ()
  Provide the wrapped WebContext for this composite.
Fields
Hide/Show inherited fields
publicfinalstatic String ACTION_CONFIG_KEY = "actionConfig" [Inherited From ActionContextBase]
 
publicfinalstatic String ACTION_FORM_KEY = "actionForm" [Inherited From ActionContextBase]
 
publicfinalstatic String ACTION_KEY = "action" [Inherited From ActionContextBase]
 
publicfinalstatic String CANCEL_KEY = "cancel" [Inherited From ActionContextBase]
 
publicfinalstatic String ERROR_ACTION_MESSAGES_KEY = "errors" [Inherited From ActionContextBase]
  Provide the default context attribute under which to store the ActionMessage cache for errors.
publicfinalstatic String EXCEPTION_KEY = "exception" [Inherited From ActionContextBase]
 
publicfinalstatic String FORWARD_CONFIG_KEY = "forwardConfig" [Inherited From ActionContextBase]
 
publicfinalstatic String INCLUDE_KEY = "include" [Inherited From ActionContextBase]
 
publicfinalstatic String LOCALE_KEY = "locale" [Inherited From ActionContextBase]
 
publicfinalstatic String MESSAGE_ACTION_MESSAGES_KEY = "messages" [Inherited From ActionContextBase]
  Provide the default context attribute under which to store the ActionMessage cache.
publicfinalstatic String MESSAGE_RESOURCES_KEY = "messageResources" [Inherited From ActionContextBase]
 
publicfinalstatic String MODULE_CONFIG_KEY = "moduleConfig" [Inherited From ActionContextBase]
 
protected TokenProcessor token [Inherited From ActionContextBase]
Store the TokenProcessor instance for this Context.
publicfinalstatic String TOKEN_KEY = "TOKEN_KEY" [Inherited From ActionContextBase]
Provide the default context attribute under which to store the token key.
publicfinalstatic String TRANSACTION_TOKEN_KEY = "TRANSACTION_TOKEN_KEY" [Inherited From ActionContextBase]
Provide the default context attribute under which to store the transaction token key.
publicfinalstatic String VALID_KEY = "valid" [Inherited From ActionContextBase]
 
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar