Re: JSR311: matrix params in _at_Path

From: Bill Burke <>
Date: Wed, 02 Jul 2008 09:54:57 -0400

Stephan Koops wrote:
> Hi Bill,
> in March we explicit forbid this (see also

> I think it is more clear with @MatrixParam.

@MatrixParam is actually *less* clear because any URI segment can have a
matrix param, and there can be duplicates. For example:


> I think, if someone needs different resource methods for different
> matrix parameter values (e.g @Path("abc;gg=5") ), he've made a mistake
> in his URI modeling. IMO the API should not support this.

I disagree. Unlike Query parameters, Matrix parameters are part of the
identity of the resource.


Bill Burke
JBoss, a division of Red Hat