What I am trying to do is, if client is sending JSON or XML in post, it should be rendered as Source document parameter?
@POST
Response doPost(Source source){
}
Any Idea. I tried looking at MessageBodyReader / Writer some Interception methods but nothing seems to be working, and I believe MessageBodyReader are not longer supported in 3.0.10 Resteasy.
Aucun commentaire:
Enregistrer un commentaire