an</span>&nbsp;<span class="element-name">hasEntity</span>()</div>
<div class="block">Check if there is a non-empty entity input stream is available in the response message.

 The method returns <code>true</code> if the entity is present, returns <code>false</code> otherwise.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if there is an entity present in the message, <code>false</code> otherwise.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEntityStream()">
<h3>getEntity