eclipse-ee4j / eclipse-ee4j/jersey
Get Matrix Parameter from current path segment
Open
Component: core
Priority: Major
Type: Improvement
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
The @MatrixParam annotation will only detect matrix parameters when they are the
last thing in the URL. For example:
.../X;a=b will work
but .../X;a=b/ will not work
and .../X;a=b/Y/ will not work
Paul's suggestion to address this would be:
1) The ability to get the current path segment or segments associated with the
resource; and
2) a qualifier on @MatrixParam to declare that the matrix parameter is
associated with the current path segment
(or the last path segment in the current set).
#### Environment
Operating System: All
Platform: Macintosh
#### Affected Versions
[1.1.1-ea]
Contributor guide
Assessment
This issue has not been assessed yet.