Re: RouteList.add() doesn't accept TemplateRoute, only the now deprecated Route

2011-02-09 Thread Thierry Boileau
Hello Fabian, we consider this situation a little bit annoying as you accurately point, but transitional. The 2.1 trunk fixes that by making the TemplateRoute class a subclass of the (no more deprecated) Route class. We are aware this not very confortable, but for now, we are not enclined to

Re: RouteList.add() doesn't accept TemplateRoute, only the now deprecated Route

2011-02-09 Thread Fabian Mandelbaum
Hello Thierry, thanks a lot for your (as usual) prompt and accurate answer. I guess I can live with this small nuance until 2.1 is rock-solid and ready to become the new stable branch. My pleasure to be of help. a bientot. On Wed, Feb 9, 2011 at 8:40 AM, Thierry Boileau

RouteList.add() doesn't accept TemplateRoute, only the now deprecated Route

2011-02-08 Thread Fabian Mandelbaum
Hello there, I'm using Restlet 2.0.4 JSE, and am trying to modify my application routes dynamically, according to the presence or not of classes in the classpath (if an extension class is present, then I need that class to handle a given route, instead of the 'base' class). While on this quest,