public class JIRAProfilingFilter
extends com.atlassian.util.profiling.filters.RequestProfilingFilter
| Constructor and Description |
|---|
JIRAProfilingFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
Note:
ThreadLocalQueryProfiler.start() and ThreadLocalQueryProfiler.end() is also handled by
JiraThreadLocalUtils, which means that this is also triggered by
another filter RequestCleanupStep. |
void |
init(javax.servlet.FilterConfig filterConfig) |
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
ThreadLocalQueryProfiler.start() and ThreadLocalQueryProfiler.end() is also handled by
JiraThreadLocalUtils, which means that this is also triggered by
another filter RequestCleanupStep.
But! the RequestCleanupStep is later in the filter
chain and ThreadLocalQueryProfiler handles nested context, so this filter will actually start and end the
ThreadLocalQueryProfiler context (in a request).doFilter in interface javax.servlet.FilterdoFilter in class com.atlassian.util.profiling.filters.RequestProfilingFilterIOExceptionjavax.servlet.ServletExceptionpublic void init(javax.servlet.FilterConfig filterConfig)
init in interface javax.servlet.Filterinit in class com.atlassian.util.profiling.filters.RequestProfilingFilterCopyright © 2002-2022 Atlassian. All Rights Reserved.