users@jsr311.java.net

Re: How to define custom request method by JSR 311 standard?

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Fri, 22 Feb 2008 22:57:47 -0500

You can create a new method designator by defining a new annotation
and annotating it with @HttpMethod. See the definition of @GET for an
example.

Marc

On Feb 22, 2008, at 9:57 PM, Dianne Jiao <Dianne.Jiao_at_Sun.COM> wrote:

> Hi,
>
> Spec says in 2.2 “Users may define their own custom request method d
> esignators including alternate designators for the common HTTP metho
> ds. “
>
> How to define custom request method by JSR 311 standard?
>
> I might have missed something very simple.
>
> Thanks in advance for helping.
>
> Dianne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>