Programmatic registration of RequestMappingInfo
leads to "IllegalArgumentException: Expected lookup path"
#31662
Milestone
RequestMappingInfo
leads to "IllegalArgumentException: Expected lookup path"
#31662
The example shown in the Explicit Registrations section of the reference docs fails with:
This is because
RequestMappingInfo.Builder
defaults toAntPathMatcher
while (as of 6.0)RequestMappingHandlerMapping
defaults toPathPatternParser
. We need to align the defaults between the two, but also provide a way to create aRequestMappingInfo
that's initialized from the internal configuration ofRequestMappingHandlerMapping
with additional customizations then layered on top.The text was updated successfully, but these errors were encountered: