Hi Gerard,
this is clearly spec bug, feel free to file new issue against it.
Implementation wise - it should work as you expect - you can use
primitive types as well.
Pavel
On 5/15/13 12:51 PM, Gerard Davison wrote:
> Hi,
>
> In the JSR spec section 4.3 it states that @PathParam can be used on "parameters are String, any Java Primitive type, or boxed version thereof". But in sections 4.4->4.7 they say "zero to n String parameters annotated with @PathParam annotations".
>
> Which is intended to be correct? I suspect 4.3 but I wanted to be sure.
>
> Gerard
>