t processing, 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>
</th>
</tr>
<tr class="altColor" id="i96">
<td class="colFirst"><a href="jakarta/ws/rs/container/ResourceContext.html" title="interface in jakarta.ws.rs.container">ResourceContext</a></td>
<th class="colLast" scope="r