Class SessionHandler.SessionAsyncListener

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

    public class SessionHandler.SessionAsyncListener
    extends java.lang.Object
    implements javax.servlet.AsyncListener
    SessionAsyncListener Used to ensure that a request for which async has been started has its session completed as the request exits the context.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • SessionAsyncListener

        public SessionAsyncListener()
    • Method Detail

      • onComplete

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

        public void onTimeout​(javax.servlet.AsyncEvent event)
                       throws java.io.IOException
        Specified by:
        onTimeout 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
      • onStartAsync

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