com.livinglogic.struts.workflow
Class TilesWorkflowRequestProcessor

java.lang.Object
  extended byorg.apache.struts.action.RequestProcessor
      extended byorg.apache.struts.tiles.TilesRequestProcessor
          extended bycom.livinglogic.struts.workflow.TilesWorkflowRequestProcessor
All Implemented Interfaces:
WorkflowRequestProcessorLogicAdapter

public class TilesWorkflowRequestProcessor
extends org.apache.struts.tiles.TilesRequestProcessor
implements WorkflowRequestProcessorLogicAdapter

The workflow request processor that must be used, if the workflow extension is to be used together with the tiles plugin. The logic is not implemented here, but in WorkflowRequestProcessorLogic.

Since:
$Name: $
Version:
$Revision: 1.3 $, $Date: 2004/04/08 14:58:23 $
Author:
M. Bauer, $Author: jason_pratt $

Field Summary
 
Fields inherited from class org.apache.struts.tiles.TilesRequestProcessor
definitionsFactory, log
 
Fields inherited from class org.apache.struts.action.RequestProcessor
actions, appConfig, INCLUDE_PATH_INFO, INCLUDE_SERVLET_PATH, moduleConfig, servlet
 
Constructor Summary
TilesWorkflowRequestProcessor()
           
 
Method Summary
 void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process an HttpServletRequest and create the corresponding HttpServletResponse.
 org.apache.struts.action.Action processActionCreate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForm processActionForm(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping)
           
 org.apache.struts.action.ActionForward processActionPerform(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.Action action, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping)
           
 void processContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 boolean processForward(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping)
           
 void processForwardConfig(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.config.ForwardConfig forward)
           
 boolean processInclude(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping)
           
 void processLocale(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 org.apache.struts.action.ActionMapping processMapping(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String path)
           
 javax.servlet.http.HttpServletRequest processMultipart(javax.servlet.http.HttpServletRequest request)
           
 void processNoCache(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 String processPath(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void processPopulate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping)
           
 boolean processPreprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 boolean processRoles(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping)
           
 boolean processValidate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping)
           
 
Methods inherited from class org.apache.struts.tiles.TilesRequestProcessor
doForward, getDefinitionsFactory, init, initDefinitionsMapping, internalModuleRelativeForward, internalModuleRelativeInclude, processTilesDefinition
 
Methods inherited from class org.apache.struts.action.RequestProcessor
destroy, doInclude, getDebug, getInternal, getServletContext, log, log, processActionForward, processException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TilesWorkflowRequestProcessor

public TilesWorkflowRequestProcessor()
Method Detail

processForwardConfig

public void processForwardConfig(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response,
                                 org.apache.struts.config.ForwardConfig forward)
                          throws IOException,
                                 javax.servlet.ServletException
Specified by:
processForwardConfig in interface WorkflowRequestProcessorLogicAdapter
Throws:
IOException
javax.servlet.ServletException

processMultipart

public javax.servlet.http.HttpServletRequest processMultipart(javax.servlet.http.HttpServletRequest request)
Specified by:
processMultipart in interface WorkflowRequestProcessorLogicAdapter

processPath

public String processPath(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws IOException
Specified by:
processPath in interface WorkflowRequestProcessorLogicAdapter
Throws:
IOException

processLocale

public void processLocale(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
Specified by:
processLocale in interface WorkflowRequestProcessorLogicAdapter

processContent

public void processContent(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
Specified by:
processContent in interface WorkflowRequestProcessorLogicAdapter

processNoCache

public void processNoCache(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
Specified by:
processNoCache in interface WorkflowRequestProcessorLogicAdapter

processPreprocess

public boolean processPreprocess(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response)
Specified by:
processPreprocess in interface WorkflowRequestProcessorLogicAdapter

processMapping

public org.apache.struts.action.ActionMapping processMapping(javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response,
                                                             String path)
                                                      throws IOException
Specified by:
processMapping in interface WorkflowRequestProcessorLogicAdapter
Throws:
IOException

processRoles

public boolean processRoles(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            org.apache.struts.action.ActionMapping mapping)
                     throws IOException,
                            javax.servlet.ServletException
Specified by:
processRoles in interface WorkflowRequestProcessorLogicAdapter
Throws:
IOException
javax.servlet.ServletException

processActionForm

public org.apache.struts.action.ActionForm processActionForm(javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response,
                                                             org.apache.struts.action.ActionMapping mapping)
Specified by:
processActionForm in interface WorkflowRequestProcessorLogicAdapter

processPopulate

public void processPopulate(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            org.apache.struts.action.ActionForm form,
                            org.apache.struts.action.ActionMapping mapping)
                     throws javax.servlet.ServletException
Specified by:
processPopulate in interface WorkflowRequestProcessorLogicAdapter
Throws:
javax.servlet.ServletException

processValidate

public boolean processValidate(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               org.apache.struts.action.ActionForm form,
                               org.apache.struts.action.ActionMapping mapping)
                        throws IOException,
                               javax.servlet.ServletException
Specified by:
processValidate in interface WorkflowRequestProcessorLogicAdapter
Throws:
IOException
javax.servlet.ServletException

processForward

public boolean processForward(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response,
                              org.apache.struts.action.ActionMapping mapping)
                       throws IOException,
                              javax.servlet.ServletException
Specified by:
processForward in interface WorkflowRequestProcessorLogicAdapter
Throws:
IOException
javax.servlet.ServletException

processInclude

public boolean processInclude(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response,
                              org.apache.struts.action.ActionMapping mapping)
                       throws IOException,
                              javax.servlet.ServletException
Specified by:
processInclude in interface WorkflowRequestProcessorLogicAdapter
Throws:
IOException
javax.servlet.ServletException

processActionCreate

public org.apache.struts.action.Action processActionCreate(javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response,
                                                           org.apache.struts.action.ActionMapping mapping)
                                                    throws IOException
Specified by:
processActionCreate in interface WorkflowRequestProcessorLogicAdapter
Throws:
IOException

processActionPerform

public org.apache.struts.action.ActionForward processActionPerform(javax.servlet.http.HttpServletRequest request,
                                                                   javax.servlet.http.HttpServletResponse response,
                                                                   org.apache.struts.action.Action action,
                                                                   org.apache.struts.action.ActionForm form,
                                                                   org.apache.struts.action.ActionMapping mapping)
                                                            throws IOException,
                                                                   javax.servlet.ServletException
Specified by:
processActionPerform in interface WorkflowRequestProcessorLogicAdapter
Throws:
IOException
javax.servlet.ServletException

process

public void process(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws IOException,
                    javax.servlet.ServletException

Process an HttpServletRequest and create the corresponding HttpServletResponse.

Parameters:
request - The servlet request we are processing
response - The servlet response we are creating
Throws:
IOException - if an input/output error occurs
javax.servlet.ServletException - if a processing exception occurs


Copyright © 2004 Struts Workflow Extension Team. All Rights Reserved.