Class AsyncContextState.WrappedAsyncListener

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

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.servlet.AsyncListener getListener()  
      void onComplete​(javax.servlet.AsyncEvent event)  
      void onError​(javax.servlet.AsyncEvent event)  
      void onStartAsync​(javax.servlet.AsyncEvent event)  
      void onTimeout​(javax.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​(javax.servlet.AsyncListener listener,
                                    javax.servlet.ServletRequest request,
                                    javax.servlet.ServletResponse response)
    • Method Detail

      • getListener

        public javax.servlet.AsyncListener getListener()
      • onTimeout

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

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

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

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