users@jersey.java.net

Re: [Jersey] MatrixParams

From: Paul Sandoz <Paul.Sandoz_at_Oracle.Com>
Date: Fri, 30 Jul 2010 14:56:30 +0200

On Jul 23, 2010, at 12:52 PM, Jose Antonio Illescas Del Olmo wrote:

> Can be a new feature?
>
> On this URL: GET /mercedes/e55;color=black/2006/interior;color=tan
>
> Mapped as: @Path("/{make}/{model}/{year}/{extra}")
>
> Can access to all "color" matrix params, for example, with:
>
> @MatrixParam("model;color")
> @MatrixParam("extra;color")
>
> Thanks to Bill Burke for example (on their book "RESTfull Java with
> JAX-RS)
>

Yes, rather than using @PathParam("model") PathSegment ps.

Can you please log an issue here:

   http://jsr311.dev.java.net/

Paul.