../../../jakarta/ws/rs/core/Variant.html" title="class in jakarta.ws.rs.core">Variant</a>&nbsp;variant)</code>
<div class="block">Create an entity using a supplied content media type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../../jakarta/ws/rs/client/Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">Entity.</span><code><span class="memberNameLink"><a href="../..