users@jsr311.java.net

matrix parameters

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Wed, 04 Jun 2008 14:46:10 +0200

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.