public interface ContinuationListener extends EventListener
A ContinuationListener may be registered with a call to
Continuation.addContinuationListener(ContinuationListener)
.
Modifier and Type | Method and Description |
---|---|
void |
onComplete(Continuation continuation)
Called when a continuation life cycle is complete and after
any calls to
ServletRequestListener#requestDestroyed(javax.servlet.ServletRequestEvent)
The response may still be written to during the call. |
void |
onTimeout(Continuation continuation)
Called when a suspended continuation has timed out.
|
void onComplete(Continuation continuation)
ServletRequestListener#requestDestroyed(javax.servlet.ServletRequestEvent)
The response may still be written to during the call.continuation
- void onTimeout(Continuation continuation)
Continuation.resume()
or Continuation.complete()
may be called by a onTimeout implementation,continuation
- Copyright © 1995-2015 Webtide. All Rights Reserved.