Class AsyncContextState.WrappedAsyncListener

  • All Implemented Interfaces:
    jakarta.servlet.AsyncListener, java.util.EventListener
    Enclosing class:
    AsyncContextState

    public static class AsyncContextState.WrappedAsyncListener
    extends java.lang.Object
    implements jakarta.servlet.AsyncListener
    • Constructor Summary

      Constructors 
      Constructor Description
      WrappedAsyncListener​(jakarta.servlet.AsyncListener listener, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.servlet.AsyncListener getListener()  
      void onComplete​(jakarta.servlet.AsyncEvent event)  
      void onError​(jakarta.servlet.AsyncEvent event)  
      void onStartAsync​(jakarta.servlet.AsyncEvent event)  
      void onTimeout​(jakarta.servlet.AsyncEvent event)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WrappedAsyncListener

        public WrappedAsyncListener​(jakarta.servlet.AsyncListener listener,
                                    jakarta.servlet.ServletRequest request,
                                    jakarta.servlet.ServletResponse response)
    • Method Detail

      • getListener

        public jakarta.servlet.AsyncListener getListener()
      • onTimeout

        public void onTimeout​(jakarta.servlet.AsyncEvent event)
                       throws java.io.IOException
        Specified by:
        onTimeout in interface jakarta.servlet.AsyncListener
        Throws:
        java.io.IOException
      • onStartAsync

        public void onStartAsync​(jakarta.servlet.AsyncEvent event)
                          throws java.io.IOException
        Specified by:
        onStartAsync in interface jakarta.servlet.AsyncListener
        Throws:
        java.io.IOException
      • onError

        public void onError​(jakarta.servlet.AsyncEvent event)
                     throws java.io.IOException
        Specified by:
        onError in interface jakarta.servlet.AsyncListener
        Throws:
        java.io.IOException
      • onComplete

        public void onComplete​(jakarta.servlet.AsyncEvent event)
                        throws java.io.IOException
        Specified by:
        onComplete in interface jakarta.servlet.AsyncListener
        Throws:
        java.io.IOException