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)
TimeoutHandler
AsyncResponse
API documentation).
A custom time-out handler may decide to either
resume(...)
methods,cancel(...)
methods, orsetting a new suspend time-out
handleTimeout
in interface TimeoutHandler
asyncResponse
- suspended asynchronous response that is timing out.Copyright © 2013. All Rights Reserved.