-external=true" title="class or interface in java.lang">String</a>&nbsp;encoding)</code>
<div class="block">Create a new instance of Variant.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../javax/ws/rs/core/Variant.html#Variant-javax.ws.rs.core.MediaType-java.lang.String-java.lang.String-">Variant</a></span>(<a href="../../../../javax/ws/rs/core/MediaType.html" title="class in javax.ws.rs.core">MediaType</a>&nbsp;mediaType,
       <a href="h