Class AsyncContextEvent

  • All Implemented Interfaces:
    java.lang.Runnable

    public class AsyncContextEvent
    extends javax.servlet.AsyncEvent
    implements java.lang.Runnable
    • Method Detail

      • getSuspendedContext

        public javax.servlet.ServletContext getSuspendedContext()
      • getDispatchContext

        public javax.servlet.ServletContext getDispatchContext()
      • getServletContext

        public javax.servlet.ServletContext getServletContext()
      • getPath

        public java.lang.String getPath()
        Returns:
        The path in the context (encoded with possible query string)
      • setTimeoutTask

        public void setTimeoutTask​(Scheduler.Task task)
      • hasTimeoutTask

        public boolean hasTimeoutTask()
      • cancelTimeoutTask

        public void cancelTimeoutTask()
      • getAsyncContext

        public javax.servlet.AsyncContext getAsyncContext()
        Overrides:
        getAsyncContext in class javax.servlet.AsyncEvent
      • getThrowable

        public java.lang.Throwable getThrowable()
        Overrides:
        getThrowable in class javax.servlet.AsyncEvent
      • setDispatchContext

        public void setDispatchContext​(javax.servlet.ServletContext context)
      • setDispatchPath

        public void setDispatchPath​(java.lang.String path)
        Parameters:
        path - encoded URI
      • completed

        public void completed()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • addThrowable

        public void addThrowable​(java.lang.Throwable e)