Package javax.servlet

Interface AsyncListener

All Superinterfaces:
EventListener

public interface AsyncListener extends EventListener
Listener that will be notified in the event that an asynchronous operation initiated on a ServletRequest to which the listener had been added has completed, timed out, or resulted in an error.
Since:
Servlet 3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notifies this AsyncListener that an asynchronous operation has been completed.
    void
    Notifies this AsyncListener that an asynchronous operation has failed to complete.
    void
    Notifies this AsyncListener that a new asynchronous cycle is being initiated via a call to one of the ServletRequest.startAsync() methods.
    void
    Notifies this AsyncListener that an asynchronous operation has timed out.