Java Doc for PageFlowRequestProcessor.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » netui » pageflow » 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 » Library » Apache beehive 1.0.2 src » org.apache.beehive.netui.pageflow 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.beehive.netui.pageflow.PageFlowRequestProcessor

PageFlowRequestProcessor
public class PageFlowRequestProcessor extends TilesRequestProcessor implements Serializable,InternalConstants,PageFlowConstants(Code)
The Page Flow extension of the Struts RequestProcessor, which contains callbacks that are invoked during processing of a request to the Struts action servlet. This class is registered as the controller for all Struts modules derived from page flows.

Inner Class :protected static class ExceptionHandledActionMapping extends ActionMapping
Inner Class :public static class ExceptionHandledAction extends Action



Method Summary
protected  booleanchangeScheme(String webappRelativeURI, String scheme, int port, FlowControllerHandlerContext context)
    
 voiddoActionForward(HttpServletRequest request, HttpServletResponse response, ActionForward forward)
    
protected  voiddoForward(String uri, HttpServletRequest request, HttpServletResponse response)
    
protected  ActionMappinggetBeginMapping()
    
public  voidinit(ActionServlet actionServlet, ModuleConfig mc)
    
protected  voidinitDefinitionsMapping()
     Read component instance mapping configuration file.
public  voidprocess(HttpServletRequest request, HttpServletResponse response)
    
protected  ActionprocessActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping actionMapping)
    
protected  ActionFormprocessActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
    
protected  booleanprocessActionOverride(HttpServletRequest request, HttpServletResponse response)
     The requested action can be overridden by a request parameter.
protected  ActionForwardprocessActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping)
    
public  ActionForwardprocessException(HttpServletRequest request, HttpServletResponse response, Exception ex, ActionForm form, ActionMapping mapping)
    
protected  voidprocessForwardConfig(HttpServletRequest request, HttpServletResponse response, ForwardConfig fwd)
     This override of the base method ensures that absolute URIs don't get the context path prepended, and handles forwards to special things like return-to="currentPage".
public  ActionMappingprocessMapping(HttpServletRequest request, HttpServletResponse response, String path)
    
protected  HttpServletRequestprocessMultipart(HttpServletRequest request)
     If this is a multipart request, wrap it with a special wrapper.
protected  voidprocessNoCache(HttpServletRequest request, HttpServletResponse response)
     Set the no-cache headers.
protected  booleanprocessPageFlowRequest(HttpServletRequest request, HttpServletResponse response, String uri)
     Process any direct request for a page flow by forwarding to its "begin" action.
protected  voidprocessPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping)
    
protected  booleanprocessRoles(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
    
protected  booleanprocessSharedFlowMapping(HttpServletRequest request, HttpServletResponse response, String actionPath, FlowController currentFlowController)
    
protected  ActionMappingprocessUnresolvedAction(String actionPath, HttpServletRequest request, HttpServletResponse response, Object returningForm)
    
protected  booleanprocessValidate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping)
    
protected  booleanshouldDoSecureForwards()
    



Method Detail
changeScheme
protected boolean changeScheme(String webappRelativeURI, String scheme, int port, FlowControllerHandlerContext context) throws URISyntaxException, IOException, ServletException(Code)



doActionForward
void doActionForward(HttpServletRequest request, HttpServletResponse response, ActionForward forward) throws IOException, ServletException(Code)



doForward
protected void doForward(String uri, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)



getBeginMapping
protected ActionMapping getBeginMapping()(Code)



init
public void init(ActionServlet actionServlet, ModuleConfig mc) throws ServletException(Code)



initDefinitionsMapping
protected void initDefinitionsMapping() throws ServletException(Code)
Read component instance mapping configuration file. This is where we read files properties.



process
public void process(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)



processActionCreate
protected Action processActionCreate(HttpServletRequest request, HttpServletResponse response, ActionMapping actionMapping) throws IOException(Code)



processActionForm
protected ActionForm processActionForm(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)(Code)



processActionOverride
protected boolean processActionOverride(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)
The requested action can be overridden by a request parameter. In this case, we parse the action from the request parameter and forward to a URI constructed from it.
Parameters:
  request - the current HttpServletRequest
Parameters:
  response - the current HttpServletResponse true if the action was overridden by a request parameter, in which case the requestwas forwarded.
throws:
  IOException -
throws:
  ServletException -



processActionPerform
protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) throws IOException, ServletException(Code)



processException
public ActionForward processException(HttpServletRequest request, HttpServletResponse response, Exception ex, ActionForm form, ActionMapping mapping) throws IOException, ServletException(Code)



processForwardConfig
protected void processForwardConfig(HttpServletRequest request, HttpServletResponse response, ForwardConfig fwd) throws IOException, ServletException(Code)
This override of the base method ensures that absolute URIs don't get the context path prepended, and handles forwards to special things like return-to="currentPage".



processMapping
public ActionMapping processMapping(HttpServletRequest request, HttpServletResponse response, String path) throws IOException(Code)



processMultipart
protected HttpServletRequest processMultipart(HttpServletRequest request)(Code)
If this is a multipart request, wrap it with a special wrapper. Otherwise, return the request unchanged.
Parameters:
  request - The HttpServletRequest we are processing



processNoCache
protected void processNoCache(HttpServletRequest request, HttpServletResponse response)(Code)
Set the no-cache headers. This overrides the base Struts behavior to prevent caching even for the pages.



processPageFlowRequest
protected boolean processPageFlowRequest(HttpServletRequest request, HttpServletResponse response, String uri) throws IOException, ServletException(Code)
Process any direct request for a page flow by forwarding to its "begin" action.
Parameters:
  request - the current HttpServletRequest
Parameters:
  response - the current HttpServletResponse
Parameters:
  uri - the decoded request URI true if the request was for a page flow, in which case it was forwarded.
throws:
  IOException -
throws:
  ServletException -



processPopulate
protected void processPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) throws ServletException(Code)



processRoles
protected boolean processRoles(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws IOException, ServletException(Code)



processSharedFlowMapping
protected boolean processSharedFlowMapping(HttpServletRequest request, HttpServletResponse response, String actionPath, FlowController currentFlowController) throws IOException(Code)



processUnresolvedAction
protected ActionMapping processUnresolvedAction(String actionPath, HttpServletRequest request, HttpServletResponse response, Object returningForm) throws IOException(Code)



processValidate
protected boolean processValidate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) throws IOException, ServletException, InvalidCancelException(Code)



shouldDoSecureForwards
protected boolean shouldDoSecureForwards()(Code)
LegacySettings.shouldDoSecureForwards



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