Hi,
Typically I have resteasy calls like:
@POST
@Path("/blah/restcall")
ClientResponse<MyObject> restCall();
Where I expect to get MyObject back-- however, the third-party API I'm
using will flag the response code as 500 if it turns out to be an error,
in which case MyObject should really be ErrorObject. Is there a way to
handle this case easily?
Thanks, Jason
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Resteasy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/resteasy-users