Java Doc for WebActionContext.java in  » Web-Framework » struts-1.3.8 » org » apache » struts » chain » contexts » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Framework » struts 1.3.8 » org.apache.struts.chain.contexts 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.

Method Summary
public  MapgetApplicationScope()
    
public  BooleangetCancelled()
    
public  MapgetHeader()
    

Return an immutable Map that maps header names to the first (or only) header value (as a String).

public  MapgetHeaderValues()
    

Return an immutable Map that maps header names to the set of all values specified in the request (as a String array).

public  MapgetInitParam()
    

Return an immutable Map that maps context application initialization parameters to their values.

public  ModuleConfiggetModuleConfig()
    
public  MapgetParam()
    

Return a map whose keys are String request parameter names and whose values are String values.

public  MapgetParamValues()
    

Return a map whose keys are String request parameter names and whose values are String[] values.

public  MapgetParameterMap()
    
public  MapgetRequestScope()
    
public  MapgetSessionScope()
    
public  voidrelease()
    
public  voidsetCancelled(Boolean cancelled)
    
public  voidsetModuleConfig(ModuleConfig moduleConfig)
    
protected  WebContextwebContext()
     Provide the wrapped WebContext for this composite.


Constructor Detail
WebActionContext
public WebActionContext(WebContext context)(Code)
Instantiate this composite by wrapping an instance of WebContext.
Parameters:
  context - The WebContext to wrap




Method Detail
getApplicationScope
public Map getApplicationScope()(Code)



getCancelled
public Boolean getCancelled()(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



getModuleConfig
public ModuleConfig getModuleConfig()(Code)

See Also:   org.apache.struts.chain.contexts.ActionContext.getModuleConfig



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)



setCancelled
public void setCancelled(Boolean cancelled)(Code)



setModuleConfig
public void setModuleConfig(ModuleConfig moduleConfig)(Code)



webContext
protected WebContext webContext()(Code)
Provide the wrapped WebContext for this composite. The wrapped WebContext



Fields inherited from org.apache.struts.chain.contexts.ActionContextBase
final public static String ACTION_CONFIG_KEY(Code)(Java Doc)
final public static String ACTION_FORM_KEY(Code)(Java Doc)
final public static String ACTION_KEY(Code)(Java Doc)
final public static String CANCEL_KEY(Code)(Java Doc)
final public static String ERROR_ACTION_MESSAGES_KEY(Code)(Java Doc)
final public static String EXCEPTION_KEY(Code)(Java Doc)
final public static String FORWARD_CONFIG_KEY(Code)(Java Doc)
final public static String INCLUDE_KEY(Code)(Java Doc)
final public static String LOCALE_KEY(Code)(Java Doc)
final public static String MESSAGE_ACTION_MESSAGES_KEY(Code)(Java Doc)
final public static String MESSAGE_RESOURCES_KEY(Code)(Java Doc)
final public static String MODULE_CONFIG_KEY(Code)(Java Doc)
final public static String TOKEN_KEY(Code)(Java Doc)
final public static String TRANSACTION_TOKEN_KEY(Code)(Java Doc)
final public static String VALID_KEY(Code)(Java Doc)
protected TokenProcessor token(Code)(Java Doc)

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)

Methods inherited from org.apache.struts.chain.contexts.ContextWrapper
public void clear()(Code)(Java Doc)
public boolean containsKey(Object o)(Code)(Java Doc)
public boolean containsValue(Object o)(Code)(Java Doc)
public Set entrySet()(Code)(Java Doc)
public Object get(Object key)(Code)(Java Doc)
protected Context getBaseContext()(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public Set keySet()(Code)(Java Doc)
public Object put(Object key, Object value)(Code)(Java Doc)
public void putAll(Map map)(Code)(Java Doc)
public Object remove(Object key)(Code)(Java Doc)
public int size()(Code)(Java Doc)
public Collection values()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.