Interface ContinuationListener

All Superinterfaces:
EventListener

@Deprecated public interface ContinuationListener extends EventListener
Deprecated.
use Servlet 3.0 AsyncContext instead
A Continuation Listener

A ContinuationListener may be registered with a call to Continuation.addContinuationListener(ContinuationListener).

  • Method Summary

    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.
  • Method Details

    • onComplete

      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.
      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 methods Continuation.resume() or Continuation.complete() may be called by a onTimeout implementation,
      Parameters:
      continuation - the continuation