class="block">Set the media type(s) for this variant.</div>
</div>
<div class="col-first even-row-color"><code>static <a href="../Response.ResponseBuilder.html" title="class in jakarta.ws.rs.core">Response.ResponseBuilder</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">Response.</span><code><a href="../Response.html#ok(java.lang.Object,jakarta.ws.rs.core.MediaType)" class="member-name-link">ok</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.bas