users@jsr311.java.net

Re: OPTIONS

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 06 Mar 2008 10:50:41 +0100

Bill Burke wrote:
> I think the idea was that the jaxrs implementation could handle this
> generically.
>

Yes, automatically by the runtime unless overridden. We concluded that
OPTIONS is one of those HTTP methods that is unlikely to be used by most
developers and therefore did not require an annotation in the API.

Paul.

> You could always create your own:
>
> @HttpMethod("OPTIONS")
> public @interface MyOPTIONS {}
>
> Dianne Jiao wrote:
>> Hi,
>>
>> OPTIONS is mentioned in spec, but not found in API.
>> Is this done on purpose?
>>
>> Thanks.
>>
>> Dianne
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
>> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>>
>

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109