I'm in the middle of porting form resteasy client tests, to the new
JAX-RS 2.0 api. Let's compare:
Resteasy:
request.formParameter("name", value).post();
Spec:
Form form = new Form().param("name", value);
request.post(Entity.form(form));
or
request.post(Entity.form(new Form().param("name", value)));
Still bothers me that the "flow" for form parameters can't be as simple
in the specification for something that will be used a lot by users.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com