Hi Denis,
IMO we should allow this as should for the JAX-RS runtime environment,
so that it is possible for JAX-RS runtime environments supporting it,
but doesn't matter, if not.
IMO it is not a good idea to do things not, only because the Servlet API
does not allows it ...
best regards
Stephan
Marc Hadley schrieb:
> No, currently that is not possible. We did discuss this but since
> there's no way to set the status message for runtimes based on the
> Servlet container there seemed no point in adding it to the JSR 311 API.
>
> Marc.
>
> On Sep 3, 2008, at 12:48 PM, Denis wrote:
>> Hi all,
>>
>> Is it possible to specify a message with a Response status code?
>> For instance, if I see the header of the response, I would like to see:
>> 200 Good Response
>> 400 Too bad
>> ...
>>
>> Thanks for your help
>>
>> Denis