Class AbstractServletAsyncListener

  • All Implemented Interfaces:
    jakarta.servlet.AsyncListener, EventListener
    Direct Known Subclasses:
    LoggingServletAsyncListener

    @Immutable
    public abstract class AbstractServletAsyncListener
    extends Object
    implements jakarta.servlet.AsyncListener
    An empty implementation of AsyncListener.
    Since:
    8.8.0
    Author:
    Philip Helger
    • Constructor Detail

      • AbstractServletAsyncListener

        public AbstractServletAsyncListener()
    • Method Detail

      • onStartAsync

        public void onStartAsync​(@Nonnull
                                 jakarta.servlet.AsyncEvent aAsyncEvent)
                          throws IOException
        Specified by:
        onStartAsync in interface jakarta.servlet.AsyncListener
        Throws:
        IOException
      • onComplete

        public void onComplete​(@Nonnull
                               jakarta.servlet.AsyncEvent aAsyncEvent)
                        throws IOException
        Specified by:
        onComplete in interface jakarta.servlet.AsyncListener
        Throws:
        IOException
      • onError

        public void onError​(@Nonnull
                            jakarta.servlet.AsyncEvent aAsyncEvent)
                     throws IOException
        Specified by:
        onError in interface jakarta.servlet.AsyncListener
        Throws:
        IOException
      • onTimeout

        public void onTimeout​(@Nonnull
                              jakarta.servlet.AsyncEvent aAsyncEvent)
                       throws IOException
        Specified by:
        onTimeout in interface jakarta.servlet.AsyncListener
        Throws:
        IOException