Skip to content

Provide API to expose Spring MVC's ability to match requests [SPR-14321] #18893

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions