Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAX RS questions on POST with different payloads

1007187May 5 2013 — edited May 7 2013
Hello everyone,

Could you tell me if it is the way to think (the philosophy) to have one method which accepts POST with JSON content being able to support 2 différents POST payload ?
If the answer is yes, how to do this ? Do I need to use JAX RS provider to do so ? Could give me please a sample or a pointer to a sample ?

Best Regards.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2013
Added on May 5 2013
4 comments
2,388 views