Skip to content

Replace ParsingPathMatcher with PathPattern registry [SPR-15608] #20167

Closed

Description

@spring-projects-issues

Brian Clozel opened SPR-15608 and commented

Now that PathPattern has been introduced, further changes can be applied to spring-webflux to simplify the routing algorithm.

Instead of relying on the ParsingPathMatcher and managing String instances, we could:

  • AbstractHandlerMapping and subclasses should use PathPattern instances and a private registry instead of String and PathMatcher
  • The PatternsRequestCondition should also keep an ordered collection of PathPattern and use a PathPatternParser, in order to replace String and PathMatcher

Other possible improvements:


Issue Links:

Referenced from: commits 233c15b

Activity

  1. added
    type: enhancement
    in: web
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webtype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions