In principle Spring MVC matches requests using an instance of AntPathMatcher. However there are additional path matching options for annotated @Controller methods such as suffix pattern mapping, trailing slash matches, and others. The AntPathMatcher itself has various properties that affect how it matches requests and each HandlerMapping can be configured differently in this regard.
The goal of this ticket is to expose an API to determine whether a given request matches a given pattern. A 3rd party framework can then use this to align its own request matching configuration with that of Spring MVC.
Rossen Stoyanchev opened SPR-14321 and commented
In principle Spring MVC matches requests using an instance of
AntPathMatcher
. However there are additional path matching options for annotated@Controller
methods such as suffix pattern mapping, trailing slash matches, and others. The AntPathMatcher itself has various properties that affect how it matches requests and each HandlerMapping can be configured differently in this regard.The goal of this ticket is to expose an API to determine whether a given request matches a given pattern. A 3rd party framework can then use this to align its own request matching configuration with that of Spring MVC.
Affects: 4.2.6
Referenced from: commits 1694994, a30ab30
0 votes, 5 watchers
The text was updated successfully, but these errors were encountered: