users@jersey.java.net

Jersey and arbitrary length _at_PathParams

From: Ronak Patel <ronak2121_at_yahoo.com>
Date: Mon, 11 Oct 2010 09:13:05 -0700 (PDT)

Hi,

I've been wondering how can I deal with arbitrary length @PathParams using
Jersey.

Specifically I have urls like:

http://<host>:<port>/<context>/<resource>/<some>/<resource>/<path>/<of>/<arbitrary>/<length>


and treat the path all as one @PathParam without resorting to using
subresources.

I know this is not really REST but would it be possible to use regexpressions to
match all subresources with one method?

Thanks,

Ronak Patel