Was thinking more about our possible regexp expansion. One thing that
screws it up is Subresource Locators. For example:
@Path("{foo:.*}")
public Object find(@PathParam("foo") String foo)
{
return new Bar();
}
public class Bar {
@Path("a/b/c")
@GET
public String get() {}
}
Let's say the HTTP request is:
GET /a/bunch/of/stuff/a/b/c
@PathParam foo would always eat up the whole URI.
This is yet another thing I dislike about dynamic Subresource locators.
If you don't remember I also talked about the problem of not being
able to authenticate before invoking on the resource locator since you
would need @RolesAllowed available.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com