java.util.EventListener
AsyncContext
instead@Deprecated
public interface ContinuationListener
extends java.util.EventListener
A ContinuationListener may be registered with a call to
Continuation.addContinuationListener(ContinuationListener)
.
Modifier and Type | Method | Description |
---|---|---|
void |
onComplete(Continuation continuation) |
Deprecated.
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) |
Deprecated.
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
- the continuationvoid onTimeout(Continuation continuation)
Continuation.resume()
or Continuation.complete()
may be called by a onTimeout implementation,continuation
- the continuationCopyright © 1995–2018 Webtide. All rights reserved.