IIRC, this isn't allowed by the spec. We used to support it.
On 12/29/11 8:51 AM, David Fehr wrote:
> Hi all,
>
> maybe this question is stupid, but maybe there is an elegant way:
>
> Is it possible to annotate one method with @GET and @POST, while
> processing the parameters as previous with @Fo
I had a similar case (the unusual overlap was dictated by the client
interface), but there's nothing wrong with writing 2 separate methods
(or a delegate if you really want to do the same, which I don't think)
and annotating one with @GET, the other with @POST, both with the same
path, like:
> @PO