com.atlassian.confluence.util.profiling
Class ProfilingPageFilter

java.lang.Object
  extended bycom.opensymphony.module.sitemesh.filter.PageFilter
      extended bycom.atlassian.confluence.util.profiling.ProfilingPageFilter
All Implemented Interfaces:
javax.servlet.Filter, com.opensymphony.module.sitemesh.RequestConstants

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

An extension of the SiteMesh PageFilter which adds profiling

See Also:
PageFilter

Field Summary
 
Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, FILTER_APPLIED, PAGE, ROBOT, USING_STREAM
 
Constructor Summary
ProfilingPageFilter()
           
 
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)
           
static void ensureFactorySetup(javax.servlet.ServletConfig servletConfig)
           
static com.opensymphony.module.sitemesh.Factory getFactory()
           
 void init(javax.servlet.FilterConfig filterConfig)
           
protected  com.opensymphony.module.sitemesh.Page parsePage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse httpServletResponse, javax.servlet.FilterChain filterChain)
           
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.module.sitemesh.filter.PageFilter
destroy, doFilter, getFilterConfig, setFilterConfig
 
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)

getFactory

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

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

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
Throws:
javax.servlet.ServletException
IOException

parsePage

protected com.opensymphony.module.sitemesh.Page parsePage(javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse httpServletResponse,
                                                          javax.servlet.FilterChain filterChain)
                                                   throws IOException,
                                                          javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

ensureFactorySetup

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


Confluence is developed by Atlassian.