Got it.
getEntity( Type ) is replaced with readEntity( type );
On Fri, Dec 13, 2013 at 3:36 PM, Robert DiFalco <robert.difalco_at_gmail.com>wrote:
> In Jersey 2.0 what do I replace this client call with for my unit tests?
>
> rsp = get( ..., ClientResponse.class );
> assertEquals( Response.Status.OK, rsp.getStatusInfo() );
> Person p = rsp.getEntity( Person.class );
>
> I'm not sure how to deserialize the response stream to a Person type in
> Jersey 2.4.1.
>
> Thanks
>
>