jsr339-experts@jax-rs-spec.java.net

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

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Thu, 5 Jan 2012 22:04:30 +0200

On 05/01/12 16:46, Bill Burke wrote:
>
>
> 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.
>
Sure, what I meant was that the reflection info is not quite available
on the client side (where I'd say use Response.getEntity(...)), may be
I am missing something

Sergey