users@jsr311.java.net

Response.Status as class

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Fri, 04 Jul 2008 20:26:03 +0200

Hi,

RFC 2616 defines no reason phrases, but gives only examples. For
debugging reasons it seems useful to me, to allow a resource method, to
give another status than the default is.
So I propose to change Response.Status from an enumeration to a class.
The underlying HTTP container SHOULD (not must) send the given reason
phrase to the client.

best regards
   Stephan