users@jsr311.java.net

Re: Path annotations for class resources

From: Sergey Beryozkin <sergey.beryozkin_at_iona.com>
Date: Thu, 28 Feb 2008 13:03:30 -0000

Hi,

> IMO i think way too restrictive to limit the scope of the @PathParam,
> thus it should be possible to access the value of any template variable
> that has been extracted from the left-hand side of the request URI path
> that has been matched.

This seems intuitive enough, given that the @Path on the resource class itself contributes
to the discovery of a given method. It also simplifies the implementation a bit.

> The most recent template variable should take
> precedence over previous template variables of the same name.

Can you please elaborate a bit more about it ?

Thanks, Sergey



----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland