users@jsr311.java.net

Re: JSR311 Response and corresponding message

From: Denis <deniak.nospam_at_gmail.com>
Date: Fri, 5 Sep 2008 09:42:15 +0200

Ok, thanks for your replies.


On Wed, Sep 3, 2008 at 10:32 PM, Sean Landis <sean.landis_at_gmail.com> wrote:

> Strongly agree that Servlet API should NOT be constraint.
> Sean
>
> On Wed, Sep 3, 2008 at 1:09 PM, Stephan Koops <Stephan.Koops_at_web.de>
> wrote:
> > 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
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> > For additional commands, e-mail: users-help_at_jsr311.dev.java.net
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>
>