users@jax-rs-spec.java.net

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

From: Bill Burke <bburke_at_redhat.com>
Date: Thu, 05 Jan 2012 09:46:16 -0500

On 1/5/12 3:51 AM, Sergey Beryozkin wrote:
> On 03/01/12 12:35, Marek Potociar wrote:
>> FYI: http://java.net/jira/browse/JAX_RS_SPEC-160
>>
>> 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 ?

How? Reflection. I have a similar issue with generic type information
where currently it is impossible to pass it in manually.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com