ariant,java.lang.annotation.Annotation[])">
<!--   -->
</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="../core/Variant.html" title="class in jakarta.ws.rs.core">Variant</a>&nbsp;variant,
                                   <a href="https://docs.oracle.com/en/java/javase/11