Matrix parameters not included on String parameter with @PathParam annotation
-----------------------------------------------------------------------------
Key: WINK-56
URL: https://issues.apache.org/jira/browse/WINK-56
Project: Wink
Issue Type: Bug
Components: Common
Affects Versions: 0.1
Reporter: Jesse Ramos
Priority: Minor
Opening this bug to begin some discussion on a difference between the IBM
implementation on the Symphony implementation when it comes to matrix
parameters. In the IBM runtime, we were including the matrix parameters when
injecting String parameter values that had the @PathParam annotation.
Here's an example method header:
{code}
@Path("matrix/{loc}")
@GET
public String helloPath(@PathParam("loc") String path, @PathParam("loc")
PathSegment pathSegment,
@MatrixParam("mp") String matrix
) {...}
{code}
In this case the first parameter named "path" is injected with the matrix
parameters in the value. In Symphony, it seems the matrix parameters are
excluded. This is causing some integration tests that are being ported over to
fail.
I couldn't find anything in the spec or documentation that says it should be
one way or the other. Any thoughts on what the behavior for this should be?
If we need to change any code, we can do so with this bug report.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.