Details
-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
Description
Current text is as follows:
<code>
MyInterface proxy = ProxyFactory.create(MyInterface.class, "http://localhost:8081");
ClientResponse response = (ClientResponse)proxy.getMyListOfJAXBObjects();
List<MyJaxbClass> list = response.getEntity(new GenericType<List<MyJaxbClass>>());
</code>
Probably should be:
<code>
MyInterface proxy = ProxyFactory.create(MyInterface.class, "http://localhost:8081");
ClientResponse response = (ClientResponse)proxy.getMyListOfJAXBObjects();
List<MyJaxbClass> list = (List<MyJaxbClass>)response.getEntity(new GenericType<List<MyJaxbClass>>(){});
</code>