Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to explicitly order WebRequestInterceptors via addInterceptors method [SPR-12673] #17272
I would like to be able to explicitly order Interceptors via the addInterceptors method on WebMvcConfigurationSupport class.
With the method below the interceptors are run in order they are added to registry.
Now when I add a path pattern to the first interceptor it becomes a mapped interceptor and then it ends up being run last.
So in this instance to get the ordering correct I need to add path patterns to all interceptors as follows
Affects: 4.1.1, 4.1.3, 4.1.4