 all methods throw an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>IllegalStateException</code></a> if called outside the
 scope of a request (e.g.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="class-use/Response.html#jakarta.ws.rs.container">Response</a></th>
<td class="colLast">
<div class="block">Defines the contract between a returned instanc