|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.apache.tiles.web.startup.TilesServlet org.apache.tiles.web.startup.TilesFilter
TilesServlet
or TilesListener
. If you want a
decoration Filter, use
TilesDecorationFilter
. Moreover, definition
files reload themselves if the .apache.tiles.definition.dao.DefinitionDAO
implements
Refreshable
.
public class TilesFilter
Processes Reloadable Tiles Definitions.
Field Summary |
---|
Fields inherited from class org.apache.tiles.web.startup.TilesServlet |
---|
log |
Constructor Summary | |
---|---|
TilesFilter()
Deprecated. |
Method Summary | |
---|---|
void |
destroy()
Deprecated. Destroy method for this filter. |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
Deprecated. Checks whether Tiles Definitions need to be reloaded. |
FilterConfig |
getFilterConfig()
Deprecated. Returns the filter configuration object for this filter. |
void |
init(FilterConfig filterConfig)
Deprecated. |
void |
log(String msg)
Deprecated. |
void |
setFilterConfig(FilterConfig filterConfig)
Deprecated. Set the filter configuration object for this filter. |
Methods inherited from class org.apache.tiles.web.startup.TilesServlet |
---|
createTilesInitializer, init |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TilesFilter()
Method Detail |
---|
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
doFilter
in interface Filter
request
- The servlet request we are processingresponse
- The servlet response we are creatingchain
- The filter chain we are processing
IOException
- if an input/output error occurs
ServletException
- if a servlet error occurspublic FilterConfig getFilterConfig()
public void setFilterConfig(FilterConfig filterConfig)
filterConfig
- The filter configuration objectpublic void destroy()
destroy
in interface Filter
destroy
in interface Servlet
destroy
in class TilesServlet
public void init(FilterConfig filterConfig) throws ServletException
init
in interface Filter
ServletException
public void log(String msg)
log
in class GenericServlet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |