Interface FilterStep

All Known Implementing Classes:
CaptureSendErrorMessageStep, ClearInstrumentationStep, ForceCleanJiraThreadLocalFilterStep, HttpSecurityStep, I18nTranslationsModeStep, I18nTranslationsModeThreadlocaleStep, InstrumentationStep, JiraStatsStep, NewRelicTransactionNameStep, NullFilterStep, RequestCleanupStep, RequestInfoFirstStep, RequestInfoLastStep, VersionStatsFilter, WebworkActionCleanupStep

public interface FilterStep
An interface defining steps that can be done as a compound filter step.

The pattern is that you will beforeDoFilter() will be called, then the underlying filter chain will be invoked and then finallyAfterDoFilter() will be run.

You can keep state in yourself because a new step object will be instantiated for each request.

  • Method Details

    • beforeDoFilter

      FilterCallContext beforeDoFilter(FilterCallContext callContext)
      This is called to before the filterChain.doFilter() method is called
      Parameters:
      callContext - the context of the filter step call
    • finallyAfterDoFilter

      FilterCallContext finallyAfterDoFilter(FilterCallContext callContext)
      This is called after the filterChain.doFilter() method is called in a finally {} block
      Parameters:
      callContext - the context of the filter step call