users@jersey.java.net

[Jersey] Re: Question about natural notation

From: NBW <emailnbw_at_gmail.com>
Date: Tue, 15 Mar 2011 23:13:44 -0400

On Tue, Mar 15, 2011 at 11:02 PM, Tatu Saloranta <tsaloranta_at_gmail.com>wrote:

>
>
> No, although constructing manual wrapper is obviously trivial, with class
> like
>
> public class MyWrapper {
> public MyEntityDTO myEntityDTO;
> }
>
> or with generic typing, just
>
> public class MyWrapper<T> {
> public T wrapper; // although name is then fixed as "wrapper", and
> not based on type
> }
>
>
Yea, we'd been doing something like the generic wrapper with Jersey 1.0 and
I was hoping to leave wrapper classes behind w/1.5 :-). OK, well thanks for
your clarification!

-Noah