public class

InstrumentScriptFilter

extends AbstractInstrumentResourceFilter
java.lang.Object
   ↳ com.atlassian.jira.dev.resources.AbstractInstrumentResourceFilter
     ↳ com.atlassian.jira.dev.resources.InstrumentScriptFilter

Class Overview

Instrument javascript files, so their usage can be measured.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.dev.resources.AbstractInstrumentResourceFilter
Public Constructors
InstrumentScriptFilter()
Protected Methods
boolean acceptResource(ServletResponse response)
Returns true when given response contains resource that should be instrumented by filter implementation.
AbstractInstrumentResource getInstrumentResource()
boolean instrumentEnabled()
Matcher matchBatch(String requestUrl)
Matcher matchResource(String requestUrl)
[Expand]
Inherited Methods
From class com.atlassian.jira.dev.resources.AbstractInstrumentResourceFilter
From class java.lang.Object
From interface javax.servlet.Filter

Public Constructors

public InstrumentScriptFilter ()

Protected Methods

protected boolean acceptResource (ServletResponse response)

Returns true when given response contains resource that should be instrumented by filter implementation.

Returns
  • true when given response contains resource that should be instrumented by filter implementation.

protected AbstractInstrumentResource getInstrumentResource ()

protected boolean instrumentEnabled ()

protected Matcher matchBatch (String requestUrl)

protected Matcher matchResource (String requestUrl)