users@jsr311.java.net

Re: Response.Status as class

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Fri, 04 Jul 2008 20:24:49 -0400

I don't see a compelling use case for this.

Marc.

On Jul 4, 2008, at 2:26 PM, Stephan Koops wrote:

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.