users@jsr311.java.net

Re: URI templates (resend2)

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 18 Jun 2008 07:16:46 -0400

Manger, James H wrote:
> Marc,
>
>
>> A use case you might not have considered is generating URI templates
>> from JAX-RS classes. Keeping the JAX-RS templates a strict subset of
>> the URI templates draft makes this relatively straightforward.
>> Assuming URI templates catch on (which I think they will) this seems
>> useful.
>

I don't think this makes sense. As you already know, URI templates
cannot be used by JAX-RS as they were not written to match incoming
requests. They are templates, not expression matchers.

Unless another standard comes out, we will be forced to define our own
pattern matching syntax.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com