="entity(java.lang.Object,java.lang.String)">
<!--   -->
</a><a id="entity(T,java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>entity</h4>
<pre class="methodSignature">public static&nbsp;&lt;T&gt;&nbsp;<a href="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;T&gt;&nbsp;entity&#8203;(T&nbsp;entity,
                                   <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or