users@jersey.java.net

[Jersey] Reading a POST request params without using _at_FormParam annotation

From: Anoop R <anoopmarar_at_gmail.com>
Date: Tue, 3 May 2011 12:20:34 +0100

Greetings,

What is the best way to read form parameters in a POST request send to a
RESTful service? I tried using @FormParam annotation and it works fine. But
the number of arguments will keep on increasing as the number of form
elements increases. For GET request I can use UriInfo and MultiValuedMap to
get all request params in one shot. Is there a way to get it done in the
same way for POST requests?

Thanks in Advance.

Anoop