Update:
I've tried it with beta 23, and it seems to work as expected now.  Looks like
I'll have to upgrade.  

I would like to put in a feature request, though.  Ideally, I would want to be
able to do something like the following:

Application app = new Application(new Context()){
        public Restlet createRoot()
        {
            return new Directory(getContext(), "file:///tmp");
        }
    };
app.start();  //Note: No wrapper Component
app.get("/blah");

This would allow me to directly test the child Application without having to
stick it inside a dummy Component, which would make testing simultaneously
clearer and more robust.






Reply via email to