You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
Using RestEasy with the generated Rest client is failing with the following error.
ClassCastException : class org.jboss.resteasy.client.jaxrs.engines.ManualClosingApacheHttpClient43Engine$2 cannot be cast to class MyResponse
The reason is that the generated MyReponse inherits ResponseDelegate which inherits javax.ws.rs.core.Response. RESTEasy will return ManualClosingApacheHttpClient43Engine and it fails casting to MyReponse class.
How to get the generated code to work using RESTEasy?