com.atlassian.crowd.console.filter
Class SitemeshPageFilter

java.lang.Object
  extended by com.opensymphony.module.sitemesh.filter.PageFilter
      extended by 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
static java.lang.String SITEMESH_PAGE
           
 
Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, FILTER_APPLIED, PAGE, ROBOT, USING_STREAM
 
Constructor Summary
SitemeshPageFilter()
           
 
Method Summary
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)
           
 
Methods inherited from class com.opensymphony.module.sitemesh.filter.PageFilter
destroy, doFilter, getFilterConfig, init, parsePage, setFilterConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SITEMESH_PAGE

public static final java.lang.String SITEMESH_PAGE
See Also:
Constant Field Values
Constructor Detail

SitemeshPageFilter

public SitemeshPageFilter()
Method Detail

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,
                              java.io.IOException
Overrides:
applyDecorator in class com.opensymphony.module.sitemesh.filter.PageFilter
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2010 Atlassian. All Rights Reserved.