public class

MauEventFilter

extends AbstractHttpFilter
java.lang.Object
   ↳ com.atlassian.core.filters.AbstractHttpFilter
     ↳ com.atlassian.jira.web.filters.MauEventFilter

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

Constants
String MAU_FEATURE_LOGGING
Public Constructors
MauEventFilter()
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
From class java.lang.Object
From interface javax.servlet.Filter

Constants

public static final String MAU_FEATURE_LOGGING

Constant Value: "jira.event.mau.logging"

Public Constructors

public MauEventFilter ()

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.

Throws
IOException
ServletException