Re: Annotations and Restlet's future

2009-04-08 Thread Erik Beeson
Jerome was on the JSR 311 expert group but Restlet doesn't support it? --Erik 2009/4/8 Rémi Dewitte r...@gide.net I can see that Jérôme has already answered a great deal of my questions in this thread :) http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1596334 Rémi

Re: POST redirect to GET

2009-03-16 Thread Erik Beeson
Go back and reread the HTTP spec. In particular, read about 303 See Other on the first hit here: http://www.google.com/search?q=http+status --Erik On Mon, Mar 16, 2009 at 3:57 PM, Cliff Binstock cliff.binst...@coyotereporting.com wrote: My apologies for asking what I think should be

Re: Customized 200 level response status codes

2008-12-09 Thread Erik Beeson
I know this doesn't answer your question, but doesn't 204 do what you want already? --Erik On Tue, Dec 9, 2008 at 6:58 PM, [EMAIL PROTECTED] wrote: I define a customized status code(299) to handle the case of a success request with no data found. I tried two different ways to set this status

Re: Restlet 1.1.0 released!

2008-10-28 Thread Erik Beeson
Harris - Bruce Lee - Diego Ballve - Erik Beeson - Jérôme Bernard - Kevin Conaway - Richard Hoberman - Tim Peierls In addition, we have significantly expanded our documentationhttp://www.restlet.org/documentation/1.1/with a 150 pages long Restlet User Guide

Re: uriPattern exactness

2008-10-20 Thread Erik Beeson
In what scenario (other than maybe development) do your routes change at runtime? --Erik On Mon, Oct 20, 2008 at 2:44 PM, Cliff Binstock [EMAIL PROTECTED] wrote: Jérôme, I thought of another reason why it would be *really nice* to know the matching URI pattern: I would like to be able to

Typo in org.restlet.resource.Resource#allowPut javadoc

2008-10-18 Thread Erik Beeson
The javadoc for allowPut says Indicates if DELETE calls are allowed...: http://restlet.tigris.org/source/browse/restlet/trunk/modules/org.restlet/src/org/restlet/resource/Resource.java?view=markup --Erik

Re: Best practices when Implementing acceptingRepresentations?

2008-10-14 Thread Erik Beeson
We use XStream to do all of our serialization, so we get to switch between XML and JSON for free, which is really nice. I've been considering XStream so it's great to hear that it's working for you, especially regarding JSON. Yep, very happy. Joe Walnes has done a lot of great stuff, and

Re: bad experience with restlets

2008-09-18 Thread Erik Beeson
I second Michael's thoughts. I looked at restlets half a dozen or so times over the past year or so before finally taking the plunge a couple of weeks ago. While I might not say it's the easiest framework I've ever used, it is very nice once you get the hang of it. It took a couple of days of