Spring Framework 5 introduced PathPattern and PathPatternParser, and these are components that we should be able to standardize on, allowing this request matcher to be general-purpose, and not Spring MVC-specific like MvcRequestMatcher.
This would use neither HandlerMappingIntrospector nor PathMatcher