users@jersey.java.net

Variable Number of Matrix Parameters

From: Hien Luu <hluu_at_yahoo.com>
Date: Wed, 9 Jan 2008 13:33:08 -0800 (PST)

Hi All,

My application needs to provide a REST WS API that can take a variable number of matrix parameters. For example

http://<host>:<port>/myapp;create=a,b,c;update=e,d,f;delete=g,h,i

Has anyone done something like this before? My initial thought is to see if there is API to get a list of matrix parameters, but I don't see one. It seems like I may have to do my own parsing to figure out all the matrix parameters. I prefer not to do this if jersey already does it.

Any suggestions/ideas will be greatly appreciated.

Hien