Hi,
I always find this notation in tutorials concerning web services REST :"@ConsumeMime("application/(employee)+xml") ". Can someone explain me how to use it.
Hi!
It was not entirely easy, but I finally found the API documentation:
https://jersey.dev.java.net/nonav/apidocs/latest/jersey/javax/ws/rs/Consumes.html By the way, I think the annotation has been renamed to @Consumes in the latest version of Jersey (the JAX-RS reference implementation). Correct me if I am wrong.
Best wishes!
Thanks, but i'm wondering about "employee", how can i define my classes to use them in the consumes annotation. I hope that my question is more clear now.