Class ProfilingSiteMeshFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class ProfilingSiteMeshFilter
    extends com.opensymphony.sitemesh.webapp.SiteMeshFilter
    An extension of the SiteMeshFilter which adds profiling and delegates to ConfluenceSitemeshDecorator for the actual decoration.
    See Also:
    SiteMeshFilter
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void doFilter​(javax.servlet.ServletRequest rq, javax.servlet.ServletResponse rs, javax.servlet.FilterChain chain)  
      static void ensureFactorySetup​(javax.servlet.ServletConfig ignored)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 8.0 Does nothing
      void init​(javax.servlet.FilterConfig filterConfig)  
      protected com.opensymphony.sitemesh.ContentProcessor initContentProcessor​(com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext webAppContext)  
      protected com.opensymphony.sitemesh.DecoratorSelector initDecoratorSelector​(com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext webAppContext)  
      static void setupFactory​(javax.servlet.ServletConfig ignored)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 8.0 Does nothing
      • Methods inherited from class com.opensymphony.sitemesh.webapp.SiteMeshFilter

        destroy
    • Constructor Detail

      • ProfilingSiteMeshFilter

        public ProfilingSiteMeshFilter()
    • Method Detail

      • init

        public void init​(javax.servlet.FilterConfig filterConfig)
        Specified by:
        init in interface javax.servlet.Filter
        Overrides:
        init in class com.opensymphony.sitemesh.webapp.SiteMeshFilter
      • doFilter

        public void doFilter​(javax.servlet.ServletRequest rq,
                             javax.servlet.ServletResponse rs,
                             javax.servlet.FilterChain chain)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Overrides:
        doFilter in class com.opensymphony.sitemesh.webapp.SiteMeshFilter
        Throws:
        IOException
        javax.servlet.ServletException
      • ensureFactorySetup

        @Deprecated(since="8.0",
                    forRemoval=true)
        public static void ensureFactorySetup​(javax.servlet.ServletConfig ignored)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 8.0 Does nothing
      • setupFactory

        @Deprecated(since="8.0",
                    forRemoval=true)
        public static void setupFactory​(javax.servlet.ServletConfig ignored)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 8.0 Does nothing
      • initDecoratorSelector

        protected com.opensymphony.sitemesh.DecoratorSelector initDecoratorSelector​(com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext webAppContext)
        Overrides:
        initDecoratorSelector in class com.opensymphony.sitemesh.webapp.SiteMeshFilter
      • initContentProcessor

        protected com.opensymphony.sitemesh.ContentProcessor initContentProcessor​(com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext webAppContext)
        Overrides:
        initContentProcessor in class com.opensymphony.sitemesh.webapp.SiteMeshFilter