users@jersey.java.net

[Jersey] Annotate multiple response codes on methods

From: Jens Kristian Villadsen <jkv_at_c3a.dk>
Date: Wed, 12 Dec 2012 11:23:11 +0100

Hi all -

AFAIK, I can't seem to find any annotations defined in the jersey framework
that supports setting response status codes on methods. Is it at all
possible, or am I required to write a custom annotation and custom wadl
builder.

If it is possible, could I then be able to bind certain status codes with
certain entries from the grammar section, eg. like in the standard (
http://www.w3.org/Submission/wadl/#x3-40001.3)?

-- 
Med venlig hilsen / Kind regards
Jens Kristian Villadsen
cand.polyt
Systemudvikler / System developer
IM (Skype): j.kidd.o
Cetrea A/S, Denmark
   phone : +45 38 40 05 81
   address: Brendstrupgårdsvej 21F, DK-8200 Aarhus N.
   e-mail : jkv_at_cetrea.com
   w^3     : http://www.cetrea.com/