ss="external-link">String</a>&nbsp;encoding)</code></div>
<div class="col-last odd-row-color">
<div class="block">Create a new instance of Variant.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="jakarta.ws.rs.ext">
<h2>Uses of <a href="../MediaType.html" title="class in jakarta.ws.rs.core">MediaType</a> in <a href="../../ext/package-summary.html">jakarta.ws.rs.ext</a></h2>
<div class="caption"><span>Methods in <a href="../../ext/package-summary.html">jakarta.ws.rs.ext</a> that return 