Class Overview
Servlet filter to trigger eyeball events to track monthly active users. This filter will call triggerEvent()
at the end of the filterchain assuming that some code in the current request
has set an application correctly using setApplicationForThread(MauApplicationKey)
.
Summary
Protected Methods |
void
|
doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
This filter logs MAU events, except where the header is set to ignore.
|
[Expand]
Inherited Methods |
From class
com.atlassian.core.filters.AbstractHttpFilter
void
|
destroy()
|
final
void
|
doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2)
|
abstract
void
|
doFilter(HttpServletRequest arg0, HttpServletResponse arg1, FilterChain arg2)
|
void
|
init(FilterConfig arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
javax.servlet.Filter
void
|
destroy()
|
void
|
doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2)
|
void
|
init(FilterConfig arg0)
|
|
Constants
public
static
final
String
MAU_FEATURE_LOGGING
Constant Value:
"jira.event.mau.logging"
Public Constructors
Protected Methods
protected
void
doFilter
(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
This filter logs MAU events, except where the header is set to ignore.
The services used may not be available during bootstrapping which is why they
are wrapped to ensure we fail quietly.
The dark feature flag used here will disable logging of the MAU information,
which is primarily for JIRA development.