dev@jsr311.java.net

Re: JSR311: Header and Response Code constants

From: Bill Burke <bburke_at_redhat.com>
Date: Thu, 13 Mar 2008 14:29:31 -0400

Lol, sure...

I just cut/pasted from HttpServletResponse for the codes.

I'll attach it to the case?

Marc Hadley wrote:
> On Mar 13, 2008, at 2:02 PM, Bill Burke wrote:
>
>> In Resteasy, we have an interface for constants for both Header names
>> and Response Codes. I have found that I am using these constants
>> constantly.
>>
>> Should we have these constants available thru JAX-RS?
>>
> Yes, this is part of issue 2:
>
> https://jsr311.dev.java.net/issues/show_bug.cgi?id=2
>
> We've been deferring this for a while but I'd like it in place for
> public review in April, care to contribute your interface to the API to
> bootstrap the effort ?
>
> Some of the constants will already have helpers in Response and
> ResponseBuilder but I don't see any harm in having the constants there too.
>
> Marc.
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com