r</h4>
<pre>void&nbsp;setTimeoutHandler(<a href="../../../../javax/ws/rs/container/TimeoutHandler.html" title="interface in javax.ws.rs.container">TimeoutHandler</a>&nbsp;handler)</pre>
<div class="block">Set/replace a time-out handler for the suspended asynchronous response.
 <p>
 The time-out handler will be invoked when the suspend period of this
 asynchronous response times out. The job of the time-out handler is to
 resolve the time-out situation by either
 <ul>
 <li>resuming the suspended response</li