dev@jsr311.java.net

Question on _at_Path.limited()

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 26 Mar 2008 09:59:50 -0400

if I have

@Path(value="foo/{id}", limited=false)

What is the value if {id} if the URI is "foo/bar/blah"?

Is {id} "bar" or "bar/blah"? I'm guessing "bar/blah".


IMO, I'd much rather see us move to regular expressions. I did look at
the uri template spec, but it seemed more of a spec to create URIs
rather than to extract parameters values from an existing one or an
expression to match an existing URI. If you're understanding what I mean.


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