Typically I have resteasy calls like:

     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!
Resteasy-users mailing list

Reply via email to