You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ability to customize RequestMappingHandlerMapping by overriding protected methods was added in #12468. However, WebMvcConfigurationSupport instantiates its own RequestMappingHandlerMapping and configures it with default settings all in a single method. This makes it hard to extend WebMvcConfigurationSupport to make it return an extension of RequestMappingHandlerMapping without copying and pasting a substantial chunk of code (in the requestMappingHandlerMapping() method).
It would be simple to extract the addition of the default configuration to RequestMappingHandlerMapping to a separate method, allowing extenders to avoid this duplication of internal Spring logic. A pull request will follow this issue.