Hello, you can simply use TemplateRoute : TemplateRoute route = router.attach(...);
I update the tutorial. Best regards, Thierry Boileau > The tutorials show using Router, whose attach() method returns Route, > deprecated in favor of TemplateRoute. > > So am I supposed to be using something instead of Router now? > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2436344 > > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2436952