-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
I had trouble about default DispatcherTypes
a few times and always found root cause in the context of default DispatcherTypes
. Given the next release is a suitable time in terms of semver, please change the default values. What I have in my mind is replacing FORWARD, INCLUDE with ERROR.
Consider Spring Security Filter, Spring Session Filter, HiddenHttpMethodFilter, CharacterEncodingFilter etc... Which one needs to be filtered again in a FORWARD or INCLUDE request? But all these filters must be filtered in an ERROR request as well.
Here is the default values:
static final EnumSet<DispatcherType> ASYNC_DISPATCHER_TYPES = EnumSet.of(
DispatcherType.FORWARD, DispatcherType.INCLUDE, DispatcherType.REQUEST,
DispatcherType.ASYNC);
static final EnumSet<DispatcherType> NON_ASYNC_DISPATCHER_TYPES = EnumSet
.of(DispatcherType.FORWARD, DispatcherType.INCLUDE, DispatcherType.REQUEST);
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply