On 1/5/12 3:04 PM, Sergey Beryozkin wrote:
> 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
>
You may be building a request based on reflection info.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com