Good catch, the spec needs to be updated - I'll add it to my to-do list.
BTW, I'm on the road this week so updates and responses will be a bit
slower than usual.
Marc.
On Mar 18, 2008, at 2:31 PM, Bill Burke wrote:
> Yes, please don't remove this and update the spec.
>
> I want:
>
> @PathParam("something") PathSegment segment
>
> So that i can get matrix params for a specific path segment easily.
>
> Stephan Koops wrote:
>> Hello Marc,
>> there is an inconsistency between javadoc and the spec: @PathParam
>> is (javadoc) allowed also on a PathSegment. This is missing in the
>> spec (sect "Parameters" = 3.2.2 in current state of SVN).
>> In this case the value of @PathParam makes no sense IMO, or do I
>> miss something? Than it could be useful to allow @PathParam without
>> any value. Another possibility is to use @Context instead of
>> @PathParam on a PathSegment parameter.
>> Stephan
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
>> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.