rResponseContext.html#setStatus-int-">setStatus</a></span>(int&nbsp;code)</code>
<div class="block">Set a new response status code.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/ws/rs/container/ContainerResponseContext.html#setStatusInfo-jakarta.ws.rs.core.Response.StatusType-">setStatusInfo</a></span>(<a href="../../../../jakarta/ws/rs/core/Response.StatusType.html" title="inte