-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@MatrixParam should not inherit values #8
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented Marek, what do you think? |
@glassfishrobot Commented |
|
Given: /images;offset=
{offset}
;count=
{count}/random;count={count}
Where /images is implemented using one resource, and /random using a sub-resource
If I declare @MatrixParam in the sub-resource random but the client does not
specify the "count" parameter at all, I should get null (indicating the
parameter was missing) instead of inheriting the value of count from /images.
Currently there is no obvious way to detect the real value of count for /random.
With respect to implementing the entire URL with a single Resource, it should be
possible to get:
to what we would get if we used a sub-resource)
Environment
Operating System: All
Platform: All
Affected Versions
[2.1]
The text was updated successfully, but these errors were encountered: