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


Copyright © 2014 Atlassian. All Rights Reserved.