|
From: Bill B. <bb...@re...> - 2008-06-05 16:03:01
|
I've created a JIRA issue for this: http://jira.jboss.com/jira/browse/RESTEASY-50 I'm doing a JUG presentation on JAX-RS next thursday and I want to get a new release out by then. There's a few minor bugs people have found, like this, that I want to fix. Thanks for your patience. I'll pop you an email if I commit something before the release so you can get code from SVN if you can't wait for this. Bill Bill Burke wrote: > I haven't put a lot of thought into this. I guess have two things: > > 1. Allow return of a Response object in the client framework. > 2. An method annotation that says that the return value is a status code > @StatusCode or something > 3. Allow returning a Response.Status enum > 4. Throw a WebApplicationExceptoin iif, the response falls into an error > code bucket. > > Thoughts? > > > > > > Christian Sadilek wrote: >> The HttpClientInvoker throws a RuntimeException when a status other >> then SC_OK is returned by the executed method. What if the method >> returns Response.created(uri).build()? Why should the >> HttpClientInvoker throw an exception in case of SC_CREATED (201)? >> >> In general how do I check if the request went well? Is there a way to >> retrieve the http status code on the client? >> >> Thanks, >> Christian >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Resteasy-developers mailing list >> Res...@li... >> https://lists.sourceforge.net/lists/listinfo/resteasy-developers > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |