users@jersey.java.net

Accessing POST body ?

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Mon, 24 Nov 2008 20:07:11 -0800

POSTing a request using client APIs as:

ClientResponse cr = resource.
                 type("text/plain").
                 post(ClientResponse.class, "some stuff");

How do I access "some stuff" in a method on my resource ?

-Arun
-- 
Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta