ant in the list.
 <p>
 More explicit variants are chosen ahead of less explicit ones. A vary header is computed from the supplied list and
 automatically added to the response.
 </p></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>variants</code> - a list of Variant that describe all of the available representation variants.</dd>
<dt>Returns:</dt>
<dd>the variant that best matches the request or <code>null</code> if there's no match.</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/e