Re: controlling the max form size to protect against DoS attacks

2012-11-22 Thread Thierry Boileau
Hello Shaun, I've entered a new issue for that: https://github.com/restlet/restlet-framework-java/issues/687. It is related to this one: https://github.com/restlet/restlet-framework-java/issues/67 I think that the idea is to wrap the stream of the Representation in order to count the number of

Re: Re: status code REDIRECT in GWT

2012-11-22 Thread Thierry Boileau
Hi, as far as I know this method does not help as the browser always follows redirections. We should depreciate this method in Restlet 2.1 and remove it from 2.2. Best regards, Thierry Boileau I wasnt aware of the property, I will give it a try.

Re: Re: Android Client/GAE Server - 400 Bad Request

2012-11-22 Thread Thierry Boileau
Hi, that's fine! I didn't notice that the @Get and @Delete methods where using parameters. In the Restlet framework, the parameter correspond to the entity of the request. The other parameters located in the path or the query of the URIs are, well, located in the URI and are part of the

Re: Trouble with x-java-serialized-object...

2012-11-22 Thread Thierry Boileau
Hello Arnaud, can you add the Jackson extension on server side (it provides an automatic converter for json representations), and from the client side ask for the json representation of the resource. Either by setting up the accept header of the HTTP request, of by adding the media=json parameter

Re: Restlet Versioning Scheme

2012-11-22 Thread Thierry Boileau
Hello Kevin, we try our best to maintain compatibility from a version to the previous one. Sometimes classes are moving from one package to another which oblige you to update the import path, sometimes API methods are not used any more but we try to keep the old methods by depreciating them and

Re: Restlet Versioning Scheme

2012-11-22 Thread Jerome Louvel
Hi Kevin, We also maintain a migration guide with additional details about actual changes made: http://wiki.restlet.org/docs_2.1/13-restlet/21-restlet/171-restlet/155-restlet.html Best regards, Jerome 2012/11/22 Thierry Boileau thierry.boil...@restlet.com Hello Kevin, we try our best to

Re: Re: Overwriting ServerServlet issue

2012-11-22 Thread Thierry Boileau
Hi Hanno, did you tell us the kind of servlet container you are using? Best regards, Thierry Boileau Hi Thiery, don't know whether it helps but I ran it once in the YourKit profiler and the output for a single call with initialization first was