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.Filter
doFilter
in class com.atlassian.util.profiling.filters.RequestProfilingFilter
IOException
javax.servlet.ServletException
public void init(javax.servlet.FilterConfig filterConfig)
init
in interface javax.servlet.Filter
init
in class com.atlassian.util.profiling.filters.RequestProfilingFilter
Copyright © 2002-2021 Atlassian. All Rights Reserved.