com.atlassian.jira.web.filters.steps
Interface FilterStep

All Known Implementing Classes:
CaptureSendErrorMessageStep, I18nTranslationsModeStep, I18nTranslationsModeThreadlocaleStep, InstrumentationStep, NewRelicTransactionNameStep, RequestCleanupStep, RequestInfoFirstStep, RequestInfoLastStep, 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 Summary
 FilterCallContext beforeDoFilter(FilterCallContext callContext)
          This is called to before the filterChain.doFilter() method is called
 FilterCallContext finallyAfterDoFilter(FilterCallContext callContext)
          This is called after the filterChain.doFilter() method is called in a finally {} block
 

Method Detail

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.