public interface FilterStep
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.
Modifier and Type | Method and Description |
---|---|
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
|
FilterCallContext beforeDoFilter(FilterCallContext callContext)
callContext
- the context of the filter step callFilterCallContext finallyAfterDoFilter(FilterCallContext callContext)
callContext
- the context of the filter step callCopyright © 2002-2023 Atlassian. All Rights Reserved.