Review PathMappings put(PathSpec, E resource) for replacement behavior
Open
Bug
- Dominant language
- Java
- Stars
- 4.1k
- Forks
- 2k
- Avg merge
- 3d 56m
- Merged PRs (30d)
- 48
Description
**Jetty version(s)**
Jetty 12
**Description**
As pointed out at https://github.com/eclipse/jetty.project/pull/8748#discussion_r1003823744 if a new mapping is introduced that would replace an existing PathSpec,
we should be returning the old resource that was replaced in the `put()` method.
Contributor guide
Assessment
This issue has not been assessed yet.