Class KualiRequestProcessor
java.lang.Object
org.apache.struts.action.RequestProcessor
org.kuali.rice.kns.web.struts.action.KualiRequestProcessor
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
This class handles setup of user session and restoring of action form.
-
Field Summary
Fields inherited from class org.apache.struts.action.RequestProcessor
actions, INCLUDE_PATH_INFO, INCLUDE_SERVLET_PATH, log, moduleConfig, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.org.springframework.transaction.PlatformTransactionManagerDeprecated.voidprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.protected org.apache.struts.action.ActionFormprocessActionForm(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping) Deprecated.Checks for return from a lookup or question, and restores the action form stored under the request parameter docFormKey.protected org.apache.struts.action.ActionForwardprocessActionPerform(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) Deprecated.Hook into action perform to handle errors in the error map and catch exceptions.protected org.apache.struts.action.ActionForwardprocessException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Exception exception, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping) Deprecated.Adds more detailed logging for unhandled exceptionsvoidprocessFormActionAndForward(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping) Deprecated.protected voidprocessPopulate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping) Deprecated.Hooks into populate process to call form populate method if form is an instanceof PojoForm.protected booleanprocessPreprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.protected booleanprocessValidate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping) Deprecated.Hooks into validate to catch any errors from the populate, and translate the ErrorMap to ActionMessages.voidstrutsProcess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.ProcessDefinition anHttpServletRequestand create the correspondingHttpServletResponseor dispatch to another resource.Methods inherited from class org.apache.struts.action.RequestProcessor
destroy, doForward, doInclude, getInternal, getServletContext, init, internalModuleRelativeForward, internalModuleRelativeInclude, processActionCreate, processCachedMessages, processContent, processForward, processForwardConfig, processInclude, processLocale, processMapping, processMultipart, processNoCache, processPath, processRoles
-
Constructor Details
-
KualiRequestProcessor
public KualiRequestProcessor()Deprecated.
-
-
Method Details
-
process
public void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException Deprecated.- Overrides:
processin classorg.apache.struts.action.RequestProcessor- Throws:
IOExceptionjavax.servlet.ServletException
-
processPreprocess
protected boolean processPreprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.- Overrides:
processPreprocessin classorg.apache.struts.action.RequestProcessor
-
strutsProcess
public void strutsProcess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException Deprecated.ProcessDefinition an
HttpServletRequestand create the correspondingHttpServletResponseor dispatch to another resource.- Parameters:
request- The servlet request we are processingresponse- The servlet response we are creating- Throws:
IOException- if an input/output error occursjavax.servlet.ServletException- if a processing exception occurs
-
processFormActionAndForward
public void processFormActionAndForward(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping) throws javax.servlet.ServletException, IOException Deprecated.- Throws:
javax.servlet.ServletExceptionIOException
-
processPopulate
protected 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 Deprecated.Hooks into populate process to call form populate method if form is an instanceof PojoForm.- Overrides:
processPopulatein classorg.apache.struts.action.RequestProcessor- Throws:
javax.servlet.ServletException
-
processValidate
protected 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, org.apache.struts.action.InvalidCancelException Deprecated.Hooks into validate to catch any errors from the populate, and translate the ErrorMap to ActionMessages.- Overrides:
processValidatein classorg.apache.struts.action.RequestProcessor- Throws:
IOExceptionjavax.servlet.ServletExceptionorg.apache.struts.action.InvalidCancelException
-
processActionForm
protected org.apache.struts.action.ActionForm processActionForm(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping) Deprecated.Checks for return from a lookup or question, and restores the action form stored under the request parameter docFormKey.- Overrides:
processActionFormin classorg.apache.struts.action.RequestProcessor
-
processActionPerform
protected 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 Deprecated.Hook into action perform to handle errors in the error map and catch exceptions.A transaction is started prior to the execution of the action. This allows for the action code to execute efficiently without the need for using PROPAGATION_SUPPORTS in the transaction definitions. The PROPAGATION_SUPPORTS propagation type does not work well with JTA.
- Overrides:
processActionPerformin classorg.apache.struts.action.RequestProcessor- Throws:
IOExceptionjavax.servlet.ServletException
-
processException
protected org.apache.struts.action.ActionForward processException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Exception exception, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping) throws IOException, javax.servlet.ServletException Deprecated.Adds more detailed logging for unhandled exceptions- Overrides:
processExceptionin classorg.apache.struts.action.RequestProcessor- Throws:
IOExceptionjavax.servlet.ServletException- See Also:
-
getSessionDocumentService
Deprecated.- Returns:
- the sessionDocumentService
-
getTransactionManager
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()Deprecated.- Returns:
- the transactionManager
-