essage entity Java instance.

 Returns <code>null</code> if the message does not contain an entity.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the message entity or <code>null</code> if message does not contain an entity body.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEntityClass()">
<h3>getEntityClass</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in 