Class KualiRequestProcessor

java.lang.Object
org.apache.struts.action.RequestProcessor
org.kuali.rice.kns.web.struts.action.KualiRequestProcessor

@Deprecated public class KualiRequestProcessor extends org.apache.struts.action.RequestProcessor
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
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    org.springframework.transaction.PlatformTransactionManager
    Deprecated.
     
    void
    process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Deprecated.
     
    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.
    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)
    Deprecated.
    Hook into action perform to handle errors in the error map and catch exceptions.
    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)
    Deprecated.
    Adds more detailed logging for unhandled exceptions
    void
    processFormActionAndForward(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionMapping mapping)
    Deprecated.
     
    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)
    Deprecated.
    Hooks into populate process to call form populate method if form is an instanceof PojoForm.
    protected boolean
    processPreprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Deprecated.
     
    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)
    Deprecated.
    Hooks into validate to catch any errors from the populate, and translate the ErrorMap to ActionMessages.
    void
    strutsProcess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Deprecated.
    ProcessDefinition an HttpServletRequest and create the corresponding HttpServletResponse or 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      process in class org.apache.struts.action.RequestProcessor
      Throws:
      IOException
      javax.servlet.ServletException
    • processPreprocess

      protected boolean processPreprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Deprecated.
      Overrides:
      processPreprocess in class org.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 HttpServletRequest and create the corresponding HttpServletResponse or dispatch to another resource.

      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
    • 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.ServletException
      IOException
    • 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:
      processPopulate in class org.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:
      processValidate in class org.apache.struts.action.RequestProcessor
      Throws:
      IOException
      javax.servlet.ServletException
      org.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:
      processActionForm in class org.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:
      processActionPerform in class org.apache.struts.action.RequestProcessor
      Throws:
      IOException
      javax.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:
      processException in class org.apache.struts.action.RequestProcessor
      Throws:
      IOException
      javax.servlet.ServletException
      See Also:
      • RequestProcessor.processException(HttpServletRequest, HttpServletResponse, Exception, ActionForm, ActionMapping)
    • getSessionDocumentService

      public SessionDocumentService getSessionDocumentService()
      Deprecated.
      Returns:
      the sessionDocumentService
    • getTransactionManager

      public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
      Deprecated.
      Returns:
      the transactionManager