Package org.eclipse.jetty.continuation
Interface ContinuationListener
-
- All Superinterfaces:
java.util.EventListener
@Deprecated public interface ContinuationListener extends java.util.EventListener
Deprecated.use Servlet 3.0AsyncContext
insteadA Continuation ListenerA ContinuationListener may be registered with a call to
Continuation.addContinuationListener(ContinuationListener)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
onComplete(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.void
onTimeout(Continuation continuation)
Deprecated.Called when a suspended continuation has timed out.
-
-
-
Method Detail
-
onComplete
void onComplete(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.- Parameters:
continuation
- the continuation
-
onTimeout
void onTimeout(Continuation continuation)
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
-
-