Package javax.servlet

Interface AsyncListener

  • All Superinterfaces:
    java.util.EventListener
    All Known Implementing Classes:
    AsyncContextState.WrappedAsyncListener

    public interface AsyncListener
    extends java.util.EventListener
    TODO SERVLET3 - Add comments
    Since:
    Servlet 3.0
    • Method Detail

      • onComplete

        void onComplete​(AsyncEvent event)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • onTimeout

        void onTimeout​(AsyncEvent event)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • onError

        void onError​(AsyncEvent event)
              throws java.io.IOException
        Throws:
        java.io.IOException
      • onStartAsync

        void onStartAsync​(AsyncEvent event)
                   throws java.io.IOException
        Throws:
        java.io.IOException