|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.struts.action.RequestProcessor
org.dlese.dpc.schemedit.RequestProcessor
public final class RequestProcessor
My first cut at a RequestProcessor.
$Id: RequestProcessor.java,v 1.16 2010/03/03 17:15:43 ostwald Exp $
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.action.RequestProcessor |
|---|
actions, INCLUDE_PATH_INFO, INCLUDE_SERVLET_PATH, log, moduleConfig, servlet |
| Constructor Summary | |
|---|---|
RequestProcessor()
|
|
| Method Summary | |
|---|---|
static String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
void |
process(HttpServletRequest request,
HttpServletResponse response)
Override process method to catch the infamous BeanUtils.populate exception, which is thrown when a session has timed out. |
protected void |
processPopulate(HttpServletRequest request,
HttpServletResponse response,
org.apache.struts.action.ActionForm form,
org.apache.struts.action.ActionMapping mapping)
NOT YET DOCUMENTED |
protected boolean |
processRoles(HttpServletRequest request,
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. |
| Methods inherited from class org.apache.struts.action.RequestProcessor |
|---|
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, processValidate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestProcessor()
| Method Detail |
|---|
public void process(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
process in class org.apache.struts.action.RequestProcessorrequest - Description of the Parameterresponse - Description of the Parameter
ServletException - Description of the Exception
IOException - Description of the Exception
protected void processPopulate(HttpServletRequest request,
HttpServletResponse response,
org.apache.struts.action.ActionForm form,
org.apache.struts.action.ActionMapping mapping)
throws ServletException
processPopulate in class org.apache.struts.action.RequestProcessorrequest - NOT YET DOCUMENTEDresponse - NOT YET DOCUMENTEDform - NOT YET DOCUMENTEDmapping - NOT YET DOCUMENTED
ServletException - NOT YET DOCUMENTED
protected boolean processRoles(HttpServletRequest request,
HttpServletResponse response,
org.apache.struts.action.ActionMapping mapping)
throws ServletException,
IOException
processRoles in class org.apache.struts.action.RequestProcessorServletException
IOExceptionpublic static String getDateStamp()
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||