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