On Jun 29, 2007, at 3:44 PM, Marc Hadley wrote:
> So, for a HEAD request (in order or decreasing preference):
>
> 1. Call a method annotated with @HttpMethod(HEAD) or, if none present,
> 2. Call a method annotated with @HttpMethod(GET) and discard any
> entity.
>
> I agree we should flag the potential for decreased performance with 2.
>
> For an OPTIONS request:
>
> 1. Call a method annotated with @HttpMethod(OPTIONS) or, if none
> present,
> 2. Automagically generate a response from the declared metadata
+1! This sounds perfect.
Stefan