Doesn't WadlApplication do something like this? On Tue, Dec 11, 2012 at 10:29 PM, Paul Morris <pmor...@nmh.org> wrote:
> I'm trying to figure out a way to at runtime get each ServerResource and > its URI route from the org.restlet.Application API but can't seem to figure > it out. Below is an example. So again I need the relative ref and the > object (or even just its class). > > router.attach("/", tracer); > router.attach("/accounts/", tracer); > router.attach("/accounts/{accountId}", blocker); > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3035026 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3035172