Package org.eclipse.jetty.continuation
Interface ContinuationListener
- All Superinterfaces:
EventListener
Deprecated.
A Continuation Listener
A ContinuationListener may be registered with a call to
Continuation.addContinuationListener(ContinuationListener).
-
Method Summary
Modifier and TypeMethodDescriptionvoidonComplete(Continuation continuation) Deprecated.Called when a continuation life cycle is complete and after any calls toServletRequestListener.requestDestroyed(javax.servlet.ServletRequestEvent)The response may still be written to during the call.voidonTimeout(Continuation continuation) Deprecated.Called when a suspended continuation has timed out.
-
Method Details
-
onComplete
Deprecated.Called when a continuation life cycle is complete and after any calls toServletRequestListener.requestDestroyed(javax.servlet.ServletRequestEvent)The response may still be written to during the call.- Parameters:
continuation- the continuation
-
onTimeout
Deprecated.Called when a suspended continuation has timed out. The response may be written to and the methodsContinuation.resume()orContinuation.complete()may be called by a onTimeout implementation,- Parameters:
continuation- the continuation
-
AsyncContextinstead