|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.tiles.web.util.TilesDecorationFilter
public class TilesDecorationFilter
Decoration Filter. Intercepts all requests and decorates them with the configured definition.
For example, given the following config:
| Constructor Summary | |
|---|---|
TilesDecorationFilter()
|
|
| Method Summary | |
|---|---|
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain filterChain)
|
javax.servlet.FilterConfig |
getFilterConfig()
Returns the filter configuration object. |
javax.servlet.ServletContext |
getServletContext()
Returns the servlet context. |
void |
init(javax.servlet.FilterConfig config)
|
protected java.util.Map<java.lang.String,java.lang.String> |
parseAlternateDefinitions()
Creates the alternate definitions map, to map a mask of definition names to a configured definition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TilesDecorationFilter()
| Method Detail |
|---|
public javax.servlet.FilterConfig getFilterConfig()
public javax.servlet.ServletContext getServletContext()
public void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionprotected java.util.Map<java.lang.String,java.lang.String> parseAlternateDefinitions()
public void destroy()
destroy in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain filterChain)
throws java.io.IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.Filterjava.io.IOException
javax.servlet.ServletException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||