spring-projects / spring-projects/spring-boot

Use cached PathPattern in AbstractWebMvcEndpointHandlerMapping

Open
#51,781 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: blocked type: task
Dominant language
Java
Stars
81.5k
Forks
42.7k
Avg merge
2d 4h
Merged PRs (30d)
65

Description

See #51470 for background. Once https://github.com/spring-projects/spring-framework/issues/37270 is available to us, we should switch to using the PathPattern that's stored as a request attribute rather than parsing it again.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with AbstractWebMvcEndpointHandlerMapping and read issue #51470 for the background. Check Spring Framework issue #37270 to understand when the request attribute is available, then trace the current PathPattern parsing there. Done means using the cached PathPattern instead of parsing it again once that dependency is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.