public class MyTimeoutHandler extends Object implements TimeoutHandler
| Constructor and Description |
|---|
MyTimeoutHandler(int function) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleTimeout(AsyncResponse asyncResponse)
Invoked when the suspended asynchronous response is about to time out.
|
public void handleTimeout(AsyncResponse asyncResponse)
TimeoutHandlerAsyncResponse API documentation).
A custom time-out handler may decide to either
resume(...) methods,cancel(...) methods, orsetting a new suspend time-outhandleTimeout in interface TimeoutHandlerasyncResponse - suspended asynchronous response that is timing out.Copyright © 2013. All Rights Reserved.