Skip to content

Documentation describes how to opt in to using the path pattern parser but it's now the default #32557

@wilkinsona

Description

@wilkinsona

We switched to using MVC's path pattern parser by default in 2.6, however the documentation doesn't reflect this everywhere. For example, this section says:

As of Spring Framework 5.3, Spring MVC supports several implementation strategies for matching request paths to Controller handlers. It was previously only supporting the AntPathMatcher strategy, but it now also offers PathPatternParser. Spring Boot now provides a configuration property to choose and opt in the new strategy:

spring:
  mvc:
    pathmatch:
      matching-strategy: "path-pattern-parser"

For more details on why you should consider this new implementation, see the dedicated blog post.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions