ernal-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 class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../Variant.html#%3Cinit%3E(jakarta.ws.rs.core.MediaType,java.lang.String,java.lang.String,java.lang.String,java.lang.String)" class="member-name-link">Variant</a><wbr>(<a href="../MediaType.html" title="class in jakarta.ws.rs.core">MediaTyp