com.softslate.commerce.administrator.core
Class AdministratorRequestProcessor
java.lang.Object
org.apache.struts.action.RequestProcessor
org.apache.struts.tiles.TilesRequestProcessor
com.softslate.commerce.customer.core.BaseRequestProcessor
com.softslate.commerce.administrator.core.AdministratorRequestProcessor
public class AdministratorRequestProcessor
- extends BaseRequestProcessor
Subclass of BaseRequestProcessor
that negotiates each
application request for the customer interface. The
"/WEB-INF/conf/administrator/core/struts-config.xml" file identifies this
class as the customer application's <controller>.
- Author:
- David Tobey
Fields inherited from class org.apache.struts.tiles.TilesRequestProcessor |
definitionsFactory |
Fields inherited from class org.apache.struts.action.RequestProcessor |
actions, INCLUDE_PATH_INFO, INCLUDE_SERVLET_PATH, moduleConfig, servlet |
Method Summary |
protected boolean |
processPreprocess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
General-purpose preprocessing hook. |
boolean |
sscOnAdministratorPreRequestEnd(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs custom processing at the end of each call to
processPreProcess . |
Methods inherited from class org.apache.struts.tiles.TilesRequestProcessor |
getDefinitionsFactory, init, initDefinitionsMapping, internalModuleRelativeForward, internalModuleRelativeInclude, processForwardConfig, processTilesDefinition |
Methods inherited from class org.apache.struts.action.RequestProcessor |
destroy, doInclude, getInternal, getServletContext, log, log, process, processActionCreate, processActionForm, processActionPerform, processCachedMessages, processContent, processForward, processInclude, processLocale, processMapping, processMultipart, processNoCache, processPath, processPopulate, processRoles, processValidate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.commons.logging.Log log
loginPath
public static final java.lang.String loginPath
- See Also:
- Constant Field Values
loginFormPath
public static final java.lang.String loginFormPath
- See Also:
- Constant Field Values
npoDispatchPath
public static final java.lang.String npoDispatchPath
- See Also:
- Constant Field Values
npoProcessFileUploadPath
public static final java.lang.String npoProcessFileUploadPath
- See Also:
- Constant Field Values
customLayoutDirectory
public static final java.lang.String customLayoutDirectory
- See Also:
- Constant Field Values
AdministratorRequestProcessor
public AdministratorRequestProcessor()
processPreprocess
protected boolean processPreprocess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- General-purpose preprocessing hook. Loads settings into the request and
session scopes.
- Overrides:
processPreprocess
in class BaseRequestProcessor
- Parameters:
request
- The servlet request we are processingresponse
- The servlet response we are creating
sscOnAdministratorPreRequestEnd
public boolean sscOnAdministratorPreRequestEnd(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Performs custom processing at the end of each call to
processPreProcess
. Intended to be overridden by
subclasses for customizations. This method should return
false
to signal processPreProcess
to return
false
itself.
- Returns:
true
if the processing was successful,
false
if processing should stop.
Copyright ? SoftSlate, LLC 2003?2005