Re: Restlet cannot process query parameter on ROOT path

2015-02-08 Thread Xybrek
On Sunday, 08 February, 2015 04:41 PM, Thierry Boileau wrote: > Hello, > > I've tried your code and the filter is triggered and has access to the > query parameter in every cases. > Having said that, I notice that the call to > http://localhost:8080/?test=test returns a 404 status because there is

Re: Restlet cannot process query parameter on ROOT path

2015-02-08 Thread Xybrek
On Sunday, 08 February, 2015 04:41 PM, Thierry Boileau wrote: > Hello, > > I've tried your code and the filter is triggered and has access to the > query parameter in every cases. > Having said that, I notice that the call to > http://localhost:8080/?test=test returns a 404 status because there is

Re: Restlet cannot process query parameter on ROOT path

2015-02-08 Thread Xybrek
On Sunday, 08 February, 2015 04:41 PM, Thierry Boileau wrote: > Hello, > > I've tried your code and the filter is triggered and has access to the > query parameter in every cases. > Having said that, I notice that the call to > http://localhost:8080/?test=test returns a 404 status because there is

Re: Restlet cannot process query parameter on ROOT path

2015-02-08 Thread Thierry Boileau
Hello, I've tried your code and the filter is triggered and has access to the query parameter in every cases. Having said that, I notice that the call to http://localhost:8080/?test=test returns a 404 status because there is no url template that matches the "/" url. When defining this template "/{

Restlet cannot process query parameter on ROOT path

2015-02-07 Thread Xybrek
I have this code: @Override public Restlet createInboundRoot() { Router router = new Router(getContext()); Redirector forward = new Redirector(getContext(), SOME_URL, Redirector.MODE_CLIENT_FOUND); router.attach("/" + "{id}", forward); router.attach("/rest/", Ro