users@jax-rs-spec.java.net

[jax-rs-spec users] Thoughts on annotations to declare resource method response status type

From: <jared.stehler_at_gmail.com>
Date: Fri, 13 Dec 2013 22:49:51 +0000 (UTC)

Rather than having to return a generic Response object in order to set
the status code to 201 CREATED, it seems clearer to be able to mark a
resource method as @Creates, @Modifies, @Deletes, and have the
framework automatically map successful responses to something like 201
CREATED, 200 OK, 204 NO CONTENT.