dev@jsr311.java.net

PathSegment [was: some comments]

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Wed, 19 Mar 2008 10:19:17 +0100

Hi Bill,

what do you mean with "something"? Is this "something" ignored, or is it
an earlyier (nearer at the host) path segment name?
http://host.org/something/currentlyProcessed/willLaterProcessed as
example for the second? Normally the value of @PathParam has another
meaning (a name of a variable and not a fix name of a path segment), so
developers could get confusing, because of this meaning change.

Stephan

Bill Burke schrieb:
> 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
>>
>