eclipse-ee4j / eclipse-ee4j/jersey

Get Matrix Parameter from current path segment

Open
#680 9 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.