users@jsr311.java.net

Re: matrix parameters

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Wed, 04 Jun 2008 09:27:07 -0400

On Jun 4, 2008, at 8:56 AM, Bill Burke wrote:

> any segment.
>
+1.

Marc.

> Stephan Koops wrote:
>> Hi,
>> are matrix parameters allowed on every path segment or only on the
>> last path segment? http://www.w3.org/DesignIssues/MatrixURIs.html
>> (referenced in the javadocs) und RFC 1808 (without the name matrix
>> parameters) defines matrix parameters only at the end of the path
>> and before the query. I think it is good, that JAX-RS supports them
>> on every path segment, because it could semanticly useful.
>> Although a clarification is useful.
>> best regards
>> Stephan
>> Bill Burke schrieb:
>>> I just want to add that option (b) is the only option I think
>>> because PathSegment should never have more than one uri segment
>>> value because of matrix parameters. Currently a PathSegment is
>>> the only way of obtaining re-occuring matrix parameters, a
>>> PathSegment with multiple uri segments as its value breaks this.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
>> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>

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