|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.RequestProcessor
org.apache.struts.tiles.TilesRequestProcessor
com.oroad.stxx.plugin.StxxTilesRequestProcessor
Handles all forwards and includes from Struts. If stxx cannot handle them, it lets Struts handle them normally. To determine whether it should handle a request, it checks for a "dox" ending in the path.
| Field Summary |
| Fields inherited from class org.apache.struts.tiles.TilesRequestProcessor |
definitionsFactory, log |
| Fields inherited from class org.apache.struts.action.RequestProcessor |
actions, appConfig, INCLUDE_PATH_INFO, INCLUDE_SERVLET_PATH, moduleConfig, servlet |
| Constructor Summary | |
StxxTilesRequestProcessor()
|
|
| Method Summary | |
void |
init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig appConfig)
Initialize this request processor instance. |
protected void |
internalModuleRelativeForward(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Catch the call to a module relative forward. |
protected void |
internalModuleRelativeInclude(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Do a module relative include to specified uri using request dispatcher. |
protected void |
processForwardConfig(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.config.ForwardConfig forward)
Overloaded method from Struts RequestProcessor. |
protected org.apache.struts.action.ActionMapping |
processMapping(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
Select the mapping used to process the selection path for this request. |
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)
If XMLForm libraries are present, populate the form using XMLForm. |
| Methods inherited from class org.apache.struts.tiles.TilesRequestProcessor |
doForward, getDefinitionsFactory, initDefinitionsMapping, processTilesDefinition |
| Methods inherited from class org.apache.struts.action.RequestProcessor |
destroy, doInclude, getDebug, getInternal, getServletContext, log, log, process, processActionCreate, processActionForm, processActionForward, processActionPerform, processContent, processException, processForward, processInclude, processLocale, processMultipart, processNoCache, processPath, processPreprocess, processRoles, processValidate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StxxTilesRequestProcessor()
| Method Detail |
public void init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig appConfig)
throws javax.servlet.ServletException
servlet - The ActionServlet we are associated withappConfig - The ModuleConfig we are associated with.
javax.servlet.ServletException - If an error occur during initialization
protected void processForwardConfig(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.struts.config.ForwardConfig forward)
throws java.io.IOException,
javax.servlet.ServletException
request - The servlet request we are processingresponse - The servlet response we are creatingforward - The ActionForward controlling where we go
next
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet exception occurs
protected void internalModuleRelativeForward(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
uri - Module-relative URI to forward torequest - Current page requestresponse - Current page response
java.io.IOException - If something goes wrong
javax.servlet.ServletException - If something goes wrong
protected void internalModuleRelativeInclude(java.lang.String uri,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
uri - Module-relative URI to forward torequest - Current page requestresponse - Current page response
java.io.IOException - If something goes wrong
javax.servlet.ServletException - If something goes wrong
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
request - The request objectresponse - The response objectmapping - The action mapping
javax.servlet.ServletException
protected org.apache.struts.action.ActionMapping processMapping(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
throws java.io.IOException
null.
request - The servlet request we are processingresponse - The servlet response we are creatingpath - The portion of the request URI for selecting a
mapping
java.io.IOException - if an input/output error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||