public class PerformanceLogFilter extends Object implements javax.servlet.Filter
PerformanceLogger
.Modifier and Type | Field and Description |
---|---|
static String |
INIT_PARAM_PERFORMANCE_LOG_FILTER_MESSAGE_FORMATTER
Init parameter name for the
PerformanceLogFilterMessageFormatter to use. |
static String |
INIT_PARAM_PERFORMANCE_LOG_FORMATTER
Init parameter name for the
PerformanceLogFormatter to use. |
static String |
INIT_PARAM_PREFIX
Init parameter name for an optional prefix to use.
|
static String |
INIT_PARAM_THRESHOLD
Init parameter name for the threshold to use (see
PerformanceLogger.PerformanceLogger(long) ). |
Constructor and Description |
---|
PerformanceLogFilter() |
public static final String INIT_PARAM_THRESHOLD
PerformanceLogger.PerformanceLogger(long)
).public static final String INIT_PARAM_PREFIX
public static final String INIT_PARAM_PERFORMANCE_LOG_FORMATTER
PerformanceLogFormatter
to use.public static final String INIT_PARAM_PERFORMANCE_LOG_FILTER_MESSAGE_FORMATTER
PerformanceLogFilterMessageFormatter
to use.public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2012-2013. All Rights Reserved.