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

From: Bill Burke <>
Date: Tue, 13 Dec 2011 09:59:27 -0500

On 12/13/11 9:48 AM, Marek Potociar wrote:
> Not sure we are on the same page. My question is, whether you think that (on the server side) the following 2 methods
> are interchangeable:
> request.getEntity(InputStream.class);
> request.getEntityInputStream();

No we weren't on the same page :) Thanks for clarifying.

Yes, you're right, they are interchangeable. So, yes,
getEntityInputStream() isn't needed.


Bill Burke
JBoss, a division of Red Hat