[jax-rs-spec users] [jsr339-experts] Re: Response.isEntityRetrievable() and Response.bufferEntity()

From: Bill Burke <>
Date: Fri, 02 Mar 2012 11:35:49 -0500

FYI, i don't get the semantics of hasEntity() and isEntityRetrievable().
  Can you give some code examples to describe both of these methods?

On 3/1/12 7:19 AM, Sergey Beryozkin wrote:
> What is the reason for having these two methods added to Response.
> In other words, why anyone would want to call isEntityRetrievable(),
> while say Response.hasEntity() is also available ?
> Thanks, Sergey

Bill Burke
JBoss, a division of Red Hat