users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] restrict Request.getEntityInputStream()?

From: Bill Burke <bburke_at_redhat.com>
Date: Mon, 12 Dec 2011 19:47:07 -0500

I don't not think Request.getEntityInputStream() should be allowed on
the client side. An IllegalStateException should be thrown.

Also on the client, RequestBuilder.entityInputStream should be
equivalent to:

RequestBuilder.entity(inputStream);

or also throw an IllegalStateException

Bill

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com