Class SitemeshPageFilter
java.lang.Object
com.opensymphony.module.sitemesh.filter.PageFilter
com.atlassian.crowd.console.filter.SitemeshPageFilter
- All Implemented Interfaces:
com.opensymphony.module.sitemesh.RequestConstants
,javax.servlet.Filter
public class SitemeshPageFilter
extends com.opensymphony.module.sitemesh.filter.PageFilter
Currently the main purpose for overwritting the filter is to store the page object in the request so underlying
plugin web-items and sections can get access to the page properties and can perform conditional logic
-
Field Summary
Fields inherited from class com.opensymphony.module.sitemesh.filter.PageFilter
factory, filterConfig
Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, FILTER_APPLIED, PAGE, ROBOT, USING_STREAM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyDecorator
(com.opensymphony.module.sitemesh.Page page, com.opensymphony.module.sitemesh.Decorator decorator, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Methods inherited from class com.opensymphony.module.sitemesh.filter.PageFilter
destroy, doFilter, getFilterConfig, init, parsePage, setFilterConfig, writeDecorator
-
Field Details
-
SITEMESH_PAGE
- See Also:
-
-
Constructor Details
-
SitemeshPageFilter
public SitemeshPageFilter()
-
-
Method Details
-
applyDecorator
protected void applyDecorator(com.opensymphony.module.sitemesh.Page page, com.opensymphony.module.sitemesh.Decorator decorator, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException - Overrides:
applyDecorator
in classcom.opensymphony.module.sitemesh.filter.PageFilter
- Throws:
javax.servlet.ServletException
IOException
-