Class CustomRequestProcessor
java.lang.Object
org.apache.struts.action.RequestProcessor
com.echothree.view.client.web.struts.sslext.action.SecureRequestProcessor
com.echothree.view.client.web.struts.sprout.SproutRequestProcessor
com.echothree.view.client.web.struts.CustomRequestProcessor
A customized RequestProcessor that checks the user's preferred Locale
from the request each time. If a Locale is not in the session or
the one in the session doesn't match the request, the Locale in the
request is set to the session.
-
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 TypeMethodDescriptionprotected booleanprocessPreprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Override of the base class's processPreprocess() method, delegates to the superclass method at the endMethods inherited from class com.echothree.view.client.web.struts.sprout.SproutRequestProcessor
processActionPerformMethods inherited from class org.apache.struts.action.RequestProcessor
destroy, doForward, doInclude, getInternal, getServletContext, init, internalModuleRelativeForward, internalModuleRelativeInclude, process, processActionCreate, processActionForm, processCachedMessages, processContent, processException, processForward, processForwardConfig, processInclude, processLocale, processMapping, processMultipart, processNoCache, processPath, processPopulate, processRoles, processValidate
-
Constructor Details
-
CustomRequestProcessor
public CustomRequestProcessor()Creates a new instance of CustomRequestProcessor
-
-
Method Details
-
processPreprocess
protected boolean processPreprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Description copied from class:SecureRequestProcessorOverride of the base class's processPreprocess() method, delegates to the superclass method at the end- Overrides:
processPreprocessin classSecureRequestProcessor- Parameters:
request- The current requestresponse- The current response- Returns:
- true, if the request should continue to be processed, false otherwise
-