Hi Paul,

Check out SVN trunk or Restlet 1.1 M1, the methods you are looking for are
already in.

Best regards,
Jerome  

> -----Message d'origine-----
> De : Paul J. Lucas [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 17 janvier 2008 19:33
> À : [email protected]
> Objet : Changing the root URI
> 
> So I create a Router, create some Directory instances with a given  
> rootURI, and attach them to the router.
> 
> At some later time, I want to change what the rootURI is globally  
> while the server is running.  In Directory, rootRef is private and  
> there's no setRootRef() method.  Why not? Similarly, Application  
> doesn't have a setRoot() method.  Why not?
> 
> How can I do what I want?  Right now it seems the only way would be  
> to do something like call Router.getRoutes() and replace the list  
> with new Directory instances.
> 
> - Paul

Reply via email to