Package javax.servlet

Interface AsyncListener

  • All Superinterfaces:
    EventListener

    public interface AsyncListener
    extends EventListener
    The AsyncListener API.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Method Detail

      • onComplete

        void onComplete​(AsyncEvent event)
                 throws IOException
        Handle the on complete event.
        Parameters:
        event - the event.
        Throws:
        IOException - when an I/O error occurs.
      • onError

        void onError​(AsyncEvent event)
              throws IOException
        Handle the on error event.
        Parameters:
        event - the event.
        Throws:
        IOException - when an I/O error occurs.
      • onStartAsync

        void onStartAsync​(AsyncEvent event)
                   throws IOException
        Handle the on start async event.
        Parameters:
        event - the event.
        Throws:
        IOException - when an I/O error occurs.
      • onTimeout

        void onTimeout​(AsyncEvent event)
                throws IOException
        Handle the on timeout event.
        Parameters:
        event - the event.
        Throws:
        IOException - when an I/O error occurs.