Re: failure mode when sending non-serializable class

2011-07-15 Thread Thierry Boileau
Hello Chris, I've made some tests using the default converter and there should be some trace in the logs. When the converterService is not able to find a converter for an object (for example, it does not implement the Serializable interface) there is a warning trace ("Unable to find a converter fo

Re: Re: Access X-Forwarded-For in Tomcat embeded Restlet

2011-07-15 Thread Thierry Boileau
Hello Albert and Paul, you still have access to the full set of headers of the request: Form headers = (Form) getRequest().getAttributes().get(HeaderConstants.ATTRIBUTE_HEADERS); for (Parameter parameter : headers) { System.out.println(parameter.getName() + " => " + parameter.getValue()); } It

Re: Problem passing Context with Spring extension

2011-07-15 Thread Thierry Boileau
Hello Paul and Daniele, I've opened an issue for that ( http://restlet.tigris.org/issues/show_bug.cgi?id=1288). The current trunk provides a fix for that, since there is no need to provide a context when attaching an application. This behaviour is actually a reproduction of when happens when attac