ong, TimeUnit)</code></a> and
 <a href="AsyncResponse.html#setTimeoutHandler(jakarta.ws.rs.container.TimeoutHandler)"><code>AsyncResponse.setTimeoutHandler(TimeoutHandler)</code></a> methods. For example:
 </p>

 <pre>
  &#64;Stateless
  &#64;Path("/")
  public class MyEjbResource {
    &hellip;
    &#64;GET
    &#64;Asynchronous
    public void longRunningOperation(&#64;Suspended AsyncResponse ar) {
      ar.setTimeoutHandler(customHandler);
      ar.setTimeout(10, TimeUnit.SECONDS);
      final String res