Class AsyncContextState

  • All Implemented Interfaces:
    jakarta.servlet.AsyncContext

    public class AsyncContextState
    extends java.lang.Object
    implements jakarta.servlet.AsyncContext
    • Constructor Detail

    • Method Detail

      • addListener

        public void addListener​(jakarta.servlet.AsyncListener listener,
                                jakarta.servlet.ServletRequest request,
                                jakarta.servlet.ServletResponse response)
        Specified by:
        addListener in interface jakarta.servlet.AsyncContext
      • addListener

        public void addListener​(jakarta.servlet.AsyncListener listener)
        Specified by:
        addListener in interface jakarta.servlet.AsyncContext
      • complete

        public void complete()
        Specified by:
        complete in interface jakarta.servlet.AsyncContext
      • createListener

        public <T extends jakarta.servlet.AsyncListener> T createListener​(java.lang.Class<T> clazz)
                                                                   throws jakarta.servlet.ServletException
        Specified by:
        createListener in interface jakarta.servlet.AsyncContext
        Throws:
        jakarta.servlet.ServletException
      • dispatch

        public void dispatch()
        Specified by:
        dispatch in interface jakarta.servlet.AsyncContext
      • dispatch

        public void dispatch​(java.lang.String path)
        Specified by:
        dispatch in interface jakarta.servlet.AsyncContext
      • dispatch

        public void dispatch​(jakarta.servlet.ServletContext context,
                             java.lang.String path)
        Specified by:
        dispatch in interface jakarta.servlet.AsyncContext
      • getRequest

        public jakarta.servlet.ServletRequest getRequest()
        Specified by:
        getRequest in interface jakarta.servlet.AsyncContext
      • getResponse

        public jakarta.servlet.ServletResponse getResponse()
        Specified by:
        getResponse in interface jakarta.servlet.AsyncContext
      • getTimeout

        public long getTimeout()
        Specified by:
        getTimeout in interface jakarta.servlet.AsyncContext
      • hasOriginalRequestAndResponse

        public boolean hasOriginalRequestAndResponse()
        Specified by:
        hasOriginalRequestAndResponse in interface jakarta.servlet.AsyncContext
      • setTimeout

        public void setTimeout​(long arg0)
        Specified by:
        setTimeout in interface jakarta.servlet.AsyncContext
      • start

        public void start​(java.lang.Runnable task)
        Specified by:
        start in interface jakarta.servlet.AsyncContext
      • reset

        public void reset()