|
||||||||||
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.macvu.tiles.CacheTilesRequestProcessor
public class CacheTilesRequestProcessor
Created by IntelliJ IDEA. User: MVu Date: Mar 10, 2004 Time: 2:09:10 PM
Implement the Struts RequestProcessor that handle the cache TilesRequestProcessor. Need to handle the caching information. To use CacheTilesRequestProcessor add to struts-config:
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
Commons Logging instance. |
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 |
Constructor Summary | |
---|---|
CacheTilesRequestProcessor()
|
Method Summary | |
---|---|
protected boolean |
processTilesDefinition(java.lang.String definitionName,
boolean contextRelative,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process a Tile definition name. |
Methods inherited from class org.apache.struts.tiles.TilesRequestProcessor |
---|
doForward, getDefinitionsFactory, init, initDefinitionsMapping, internalModuleRelativeForward, internalModuleRelativeInclude, processForwardConfig |
Methods inherited from class org.apache.struts.action.RequestProcessor |
---|
destroy, doInclude, getInternal, getServletContext, log, log, process, processActionCreate, processActionForm, processActionPerform, processCachedMessages, processContent, processException, processForward, processInclude, processLocale, processMapping, processMultipart, processNoCache, processPath, processPopulate, processPreprocess, processRoles, processValidate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
Constructor Detail |
---|
public CacheTilesRequestProcessor()
Method Detail |
---|
protected boolean processTilesDefinition(java.lang.String definitionName, boolean contextRelative, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
definitionName
as a definition name.
It returns true
if a definition has been processed, or false
otherwise.
Parameter contextRelative
is not used in this implementation.
processTilesDefinition
in class org.apache.struts.tiles.TilesRequestProcessor
definitionName
- Definition name to insert.contextRelative
- Is the definition marked contextRelative ?request
- Current page request.response
- Current page response.
true
if the method has processed uri as a definition name, false
otherwise.
java.io.IOException
javax.servlet.ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |