users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] client form parameters still bug me

From: Bill Burke <bburke_at_redhat.com>
Date: Fri, 15 Jun 2012 15:27:47 -0400

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