Thanks for all that. It doesn't seem to work using the
ServletConverter though. I can't work out how I am supposed to hook
it up, my servlet init code looks pretty much like this:
// create the converter
this.converter = new ServletConverter(getServletContext());
// create the router and attach a default router
Router router = new Router();
this.converter.setTarget(router);
I have no Application and so nohting to associate the TunnelFilter with?
As you can see my knowledge is very limited, any help appreciated
Matthew
On 23/05/2007, at 11:48 PM, Thierry Boileau wrote:
Hello Matthew,
I suppose you think about this issue [1] and this discussion [2].
So, these web pages [3], [4] wait for you!
>Also does this work with the ServletConverter style of Restlet ?
It should, I think, because this had been implemented at the
application level, in the TunnelFilter class.
Best regards,
Thierry Boileau
[1] http://restlet.tigris.org/issues/show_bug.cgi?id=147
[2] http://restlet.tigris.org/servlets/ReadMsg?list=discuss&msgNo=559
[3] http://www.restlet.org/documentation/1.0/api/org/restlet/
service/TunnelService.html
[4] http://www.restlet.org/documentation/1.0/nre/com/noelios/
restlet/application/TunnelFilter.html
In previous discussions I had sen somethign about being able to
"coerce" particular content type by specifying a parameter in the
incoming URL, something like http://host.com/resource?media=json
But I can't turn up anything in the documenation. Can someone
please point me in the right place. Also does this work with the
ServletConverter style of reslet ?
Thanks,
Matthew