users@jsr311.java.net

Re: _at_PathParam(...) PathSegment ps

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Fri, 06 Jun 2008 10:06:49 -0400

On Jun 4, 2008, at 9:53 AM, Stephan Koops wrote:

>
>> Another (simpler) possibility is to only allow List<PathSegment>
>> and not support List<other_types>. @PathParam would always apply to
>> the most recent path parameter and, in the case of limited=false,
>> List<PathSegment> would decompose the value into individual path
>> segments.
> +1 !!
>
Any other feedback on this ? Seems to me like its the "simplest
possible thing that works".

Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.