Hi Milorad, Another option is to add attribute to your request based on the URI path followed. This could be done by using a Filter and attaching the resource class to it.
Best regards, Jerome -- http://www.restlet.org http://twitter.com/#!/jlouvel -----Message d'origine----- De : Milorad [mailto:[email protected]] Envoyé : mercredi 14 septembre 2011 01:45 À : [email protected] Objet : RE: router.attach generic resource Thanks for your reply, I've considered that, but that is not what I want, my goal is to have exactly one resource class which will process all requests. Right now I have a base resource class which my other resource classes extend, but most of the code in them is same except for table name and a few other things. I'm trying to make my application as generic as possible, so I'm considering making just one generic resource. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=28383 11 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2839147

