dev@jsr311.java.net

Re: JSR311: _at_Cookie

From: Dhanji R. Prasanna <dhanji_at_gmail.com>
Date: Wed, 13 Feb 2008 07:17:28 +1000

On Feb 13, 2008 1:45 AM, Marc Hadley <Marc.Hadley_at_sun.com> wrote:

> On Feb 11, 2008, at 6:24 PM, Dhanji R. Prasanna wrote:
>
>
> > Hmm. Not a bad idea. Why not:
> >
> > public Response get(@Param("cookieName") javax.servlet...Cookie
> > cookie);
> >
> > ?
> >
> Do you mean @HeaderParam or a new annotation @Param ?


I meant an existing @Param. I must have missed the header prefix. My
specific intention was not to create another annotation just for cookies.

Dhanji.