e>entity</code> - entity data.</dd>
<dd><code>mediaType</code> - entity content type.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>entity instance.</dd>
</dl>
</li>
</ul>
<a id="entity(java.lang.Object,jakarta.ws.rs.core.MediaType,java.lang.annotation.Annotation[])">
<!--   -->
</a><a id="entity(T,jakarta.ws.rs.core.MediaType,java.lang.annotation.Annotation[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>entity</h4>
<pre class="methodSignature">public static&nbsp;&lt;T&