Open amreladawy opened 4 years ago
Looking into it.
But, from the top of my head, does RestEasy implement jaxrs ?
Yes, it does. It is like Jersey. Actually when I switched to Jersey, the deserialisation is failing also, but I am going to list this in another issue.
Here is the StackOverflow question. https://stackoverflow.com/questions/61431765/classcastexception-class-org-jboss-resteasy-client-jaxrs-engines-manualclosing
Using RestEasy with the generated Rest client is failing with the following error.
The reason is that the generated
MyReponse
inheritsResponseDelegate
which inheritsjavax.ws.rs.core.Response
. RESTEasy will returnManualClosingApacheHttpClient43Engine
and it fails casting toMyReponse
class.How to get the generated code to work using RESTEasy?