...
In this case a template variable id available from a root class annotation is mapped to a parameter of type Long, while a name variable is mapped to a parameter of type String.
@QueryParam, @HttpHeader@HeaderParam, @MatrixParam, @FormParam and @CookieParam annotations are also supported.
...