|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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:
Field Summary | |
---|---|
static String |
CONTAINER_KEY_INIT_PARAMETER
Init parameter to define the key of the container to use. |
Constructor Summary | |
---|---|
TilesDecorationFilter()
|
Method Summary | |
---|---|
void |
destroy()
|
void |
doFilter(ServletRequest req,
ServletResponse res,
FilterChain filterChain)
|
FilterConfig |
getFilterConfig()
Returns the filter configuration object. |
ServletContext |
getServletContext()
Returns the servlet context. |
void |
init(FilterConfig config)
|
protected Map<String,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 |
Field Detail |
---|
public static final String CONTAINER_KEY_INIT_PARAMETER
Constructor Detail |
---|
public TilesDecorationFilter()
Method Detail |
---|
public FilterConfig getFilterConfig()
public ServletContext getServletContext()
public void init(FilterConfig config) throws ServletException
init
in interface Filter
ServletException
protected Map<String,String> parseAlternateDefinitions()
public void destroy()
destroy
in interface Filter
public void doFilter(ServletRequest req, ServletResponse res, FilterChain filterChain) throws IOException, ServletException
doFilter
in interface Filter
IOException
ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |