com.atlassian.confluence.util.profiling
Class ProfilingPageFilter

java.lang.Object
  extended by com.opensymphony.sitemesh.webapp.SiteMeshFilter
      extended by com.opensymphony.module.sitemesh.filter.PageFilter
          extended by com.atlassian.confluence.util.profiling.ProfilingPageFilter
All Implemented Interfaces:
javax.servlet.Filter

public class ProfilingPageFilter
extends com.opensymphony.module.sitemesh.filter.PageFilter

An extension of the SiteMesh PageFilter which adds profiling and delegates to ConfluenceSitemeshDecorator for the actual decoration.

See Also:
PageFilter

Constructor Summary
ProfilingPageFilter()
           
 
Method Summary
static void ensureFactorySetup(javax.servlet.ServletConfig servletConfig)
           
static com.opensymphony.module.sitemesh.Factory getFactory()
           
 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 servletConfig)
          Hack to make sure a factory is setup even if the filter has not be init'ed by the servlet container yet.
 
Methods inherited from class com.opensymphony.sitemesh.webapp.SiteMeshFilter
destroy, doFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilingPageFilter

public ProfilingPageFilter()
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

getFactory

public static com.opensymphony.module.sitemesh.Factory getFactory()

ensureFactorySetup

public static void ensureFactorySetup(javax.servlet.ServletConfig servletConfig)

setupFactory

public static void setupFactory(javax.servlet.ServletConfig servletConfig)
Hack to make sure a factory is setup even if the filter has not be init'ed by the servlet container yet.

See Also:
XmlRpcServer

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.