users@jersey.java.net

Regex in MatrixParams

From: amsmota <amsmota_at_gmail.com>
Date: Mon, 13 Sep 2010 07:20:30 -0700 (PDT)

Hi guys.

I have a situation where a matrix param can be something like A/B/C wich
screws

        @GET
        @Path("/data/{name}")
        List<?> getData(@PathParam("name")String vame,
@MatrixParam("params")Map<String, Serializable> params);

and I want to get something like

GET /data/values;date=20/11/2010

As it is now, what this is doing is read date=20 and trey to match the URL
with /data/values/11/2010

Thanks all.

-- 
View this message in context: http://jersey.576304.n2.nabble.com/Regex-in-MatrixParams-tp5526463p5526463.html
Sent from the Jersey mailing list archive at Nabble.com.