public final class RequestProcessor
extends org.apache.struts.action.RequestProcessor
$Id: RequestProcessor.java,v 1.16 2010/03/03 17:15:43 ostwald Exp $
| Constructor and Description |
|---|
RequestProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout:
|
void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override process method to catch the infamous BeanUtils.populate exception, which is thrown when a
session has timed out.
|
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)
NOT YET DOCUMENTED
|
protected boolean |
processRoles(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.action.ActionMapping mapping)
Since we do our roles processing in the AuthenticationFilter, the only job to do here is to
create a sessionBean when necessary.
|
destroy, doForward, doInclude, getInternal, getServletContext, init, internalModuleRelativeForward, internalModuleRelativeInclude, log, log, processActionCreate, processActionForm, processActionPerform, processCachedMessages, processContent, processException, processForward, processForwardConfig, processInclude, processLocale, processMapping, processMultipart, processNoCache, processPath, processPreprocess, processValidatepublic void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
process in class org.apache.struts.action.RequestProcessorrequest - Description of the Parameterresponse - Description of the Parameterjavax.servlet.ServletException - Description of the Exceptionjava.io.IOException - Description of the Exceptionprotected 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
processPopulate in class org.apache.struts.action.RequestProcessorrequest - NOT YET DOCUMENTEDresponse - NOT YET DOCUMENTEDform - NOT YET DOCUMENTEDmapping - NOT YET DOCUMENTEDjavax.servlet.ServletException - NOT YET DOCUMENTEDprotected boolean processRoles(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.action.ActionMapping mapping)
throws javax.servlet.ServletException,
java.io.IOException
processRoles in class org.apache.struts.action.RequestProcessorjavax.servlet.ServletExceptionjava.io.IOExceptionpublic static java.lang.String getDateStamp()