Class AsyncContextState

java.lang.Object
org.eclipse.jetty.ee10.servlet.AsyncContextState
All Implemented Interfaces:
jakarta.servlet.AsyncContext

public class AsyncContextState extends Object implements jakarta.servlet.AsyncContext
  • Constructor Details

  • Method Details

    • 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(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(String path)
      Specified by:
      dispatch in interface jakarta.servlet.AsyncContext
    • dispatch

      public void dispatch(jakarta.servlet.ServletContext context, 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 timeout)
      Specified by:
      setTimeout in interface jakarta.servlet.AsyncContext
    • start

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

      public void reset()