tring</a>&nbsp;subtype)</pre>
<div class="block">Creates a new instance of <code>MediaType</code> with the supplied type and subtype.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the primary type, <code>null</code> is equivalent to
                <a href="../../../../javax/ws/rs/core/MediaType.html#MEDIA_TYPE_WILDCARD"><code>MEDIA_TYPE_WILDCARD</code></a></dd>
<dd><code>subtype</code> - the subtype, <code>null</code> is equivalent to
                <a href="../..