-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Description
Rossen Stoyanchev opened SPR-11486 and commented
The MVC XML namespace recently exposed path-related request mapping settings (see #14796). Although such settings can be configured through MVC Java config by extending directly from WebMvcConfigurationSupport
and overriding the RequestMappingHandlerMapping @Bean
method, it would be nice to expose the same options through the WebMvcConfigurer interface.
Path related settings are very commonly customized so it's worth making it easier and obvious. It would also help Spring Boot users who otherwise currently have to take over the entire web auto configuration (see spring-projects/spring-boot#401). Last but not least this provides consistency with the XML namespace.
Affects: 4.0.2
Issue Links:
- Expose path-related request mapping settings in the MVC XML namespace [SPR-10163] #14796 Expose path-related request mapping settings in the MVC XML namespace
- Backport MVC config path config options to 3.2.x [SPR-14186] #18757 Backport MVC config path config options to 3.2.x
0 votes, 5 watchers