Re: JSR311: Header and Response Code constants

From: Stephan Koops <>
Date: Fri, 14 Mar 2008 14:53:25 +0100

Hi Bill,
> Add known headers to HttpHeaders class?
Yes, when there is already a class or interface with a matching name.
HttpHeaders.ACCEPT_LANGUAGE is good.
> Add response codes to Response class?
I think Response.OK or Response.NOT_FOUND is not very good. Status.OK
resp. Status.NOT_FOUND is better (or ResponseStatus.OK resp.
ResponseStatus.NOT_FOUND or also Response.Status.OK resp.