spring-projects / spring-projects/spring-boot
Use cached PathPattern in AbstractWebMvcEndpointHandlerMapping
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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