riant</a></span>&nbsp;<span class="element-name">selectVariant</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="Variant.html" title="class in jakarta.ws.rs.core">Variant</a>&gt;&nbsp;variants)</span></div>
<div class="block">Select the representation variant that best matches the request. Returns <code>null</code> in case there is no matching
 vari