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
    Modifier and Type
    Field
    Description
    static final String
     

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

  • 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 class com.opensymphony.module.sitemesh.filter.PageFilter
      Throws:
      javax.servlet.ServletException
      IOException