users@jersey.java.net

Re: RDF and jsr311

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Tue, 21 Aug 2007 10:23:30 +0200

On Mon, Aug 20, 2007 at 04:10:09PM -0400, Marc Hadley wrote:
> Yes, you can use an arbitrarily deep URI path in the UriTemplate. You
> can also use the "limited" property of UriTemplate if you want a
> template parameter to match multiple path segments, e.g. @UriTemplate
> (value="widgets/{id}", limit=false):
>
> request=widgets/foo => {id}=foo
> request=widgets/foo/bar => {id}=foo/bar
>
> I'm not sure if Jersey yet supports the "limited" property but if not
> support will be coming.

I can confirm the "limited" property works fine. I use it for experiments with embedded URIs.

~Jakub

>
> Marc.
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>