Expected Behavior
The documentation should clarify what addFilterBefore means.
For example, if the we have filter chain is A → B → C and we call addFilterBefore(X, C.class),
is the result
A → B → X → C or
A → X → B → C or
X → A → B → C .
all of them follow the rule of ( X before C ) ?
so i think we need some clarifications for addFilterBefore and addFilterAfter cases
Current Behavior
The documentation only says that
#addFilterBefore(Filter, Class<?>)adds your filter before another filter
#addFilterAfter(Filter, Class<?>) adds your filter after another filter
which does not make the exact ordering guarantee clear.
Expected Behavior
The documentation should clarify what
addFilterBeforemeans.For example, if the we have filter chain is A → B → C and we call
addFilterBefore(X, C.class),is the result
A → B → X → C or
A → X → B → C or
X → A → B → C .
all of them follow the rule of ( X before C ) ?
so i think we need some clarifications for
addFilterBeforeandaddFilterAftercasesCurrent Behavior
The documentation only says that
which does not make the exact ordering guarantee clear.