Dear all,
I have already implemented this by building additional infrastructure, but I
was wondering if, from inside a Resource, there is a way for retrieving which
UriTemplate is associated to a given Resource class.
To be more explicit:
In application:
router.attach("/myResource", MyResource.class)
In MyResource I would like to have something like:
getUriTemplateFor(MyResource.class) -> "/myResource"
I digged a bit into the API but I haven't find anything like this.
Thanks,
Fabio
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1010096