pan class="element-name">setStatus</span><wbr><span class="parameters">(int&nbsp;code)</span></div>
<div class="block">Set a new response status code.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>code</code> - new status code.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getStatusInfo()">
<h3>getStatusInfo</h3>
<div class="member-signature"><span class="return-type"><a href="../core/Response.StatusType.html" title="interface in jakarta.ws.rs.core">Response.StatusType</a></span>&nb