ws/rs/core/MediaType.html" title="class in javax.ws.rs.core">MediaType</a>&gt;&nbsp;getAcceptableMediaTypes()</pre>
<div class="block">Get a list of media types that are acceptable for the response.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a read-only list of requested response media types sorted according
         to their q-value, with highest preference first.</dd>
</dl>
</li>
</ul>
<a name="getAcceptableLanguages--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
