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.