[jax-rs-spec users] [jsr339-experts] Re: Request/Response.getEntity(...) and Request/ResponseBuilder.entity(...) should take annotations array argument

From: Sergey Beryozkin <>
Date: Thu, 5 Jan 2012 10:51:19 +0200

On 03/01/12 12:35, Marek Potociar wrote:
> FYI:
> The proposal is to add new method overloads to fix the issue.

Looks reasonable, however, I'm wondering, how do you expect the calling
code to obtain these annotations ?
If we have a server application code working with Request then I can
imagine how this can be done - though may be some clarifications are
needed how to obtain such annotations in case of the annotation inheritance.
But it is not quite clear to me how to retrieve the annotations in other

Cheers, Sergey

> Marek