On Jun 5, 2008, at 5:16 PM, Bill Burke wrote:
>>>
>>> Why not templatize Response?
>>>
>>> @GET
>>> Response<List<String>> get() {...}
>>>
>> Paul and I tried to do this a while back but, IIRC, we couldn't get
>> it to work properly with ResponseBuilder. Definitely interested in
>> a generic Response if we can get that to work.
>
> Would be cool if you remembered why. In the case I'm proposing,
> you'd get the type from the method signature anyways (which works).
>
I'll have another go to remind myself.
Marc.
---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.