Klasse HttpAsyncContextRunnable

java.lang.Object
server.restful.common.async.HttpAsyncContextRunnable
Alle implementierten Schnittstellen:
Runnable

public abstract class HttpAsyncContextRunnable extends Object implements Runnable
  • Felddetails

    • LOG

      private static final Logger LOG
    • asyncContext

      private jakarta.servlet.AsyncContext asyncContext
    • servletContext

      private jakarta.servlet.ServletContext servletContext
    • completed

      private AtomicBoolean completed
    • parentThread

      protected Thread parentThread
  • Konstruktordetails

    • HttpAsyncContextRunnable

      public HttpAsyncContextRunnable(jakarta.servlet.AsyncContext asyncContext, jakarta.servlet.ServletContext servletContext)
  • Methodendetails

    • isComplete

      protected boolean isComplete()
    • getAndSetComplete

      private boolean getAndSetComplete()
    • getRequest

      private jakarta.servlet.http.HttpServletRequest getRequest()
    • getResponse

      private jakarta.servlet.http.HttpServletResponse getResponse()
    • run

      public final void run()
      Angegeben von:
      run in Schnittstelle Runnable
    • run

      protected abstract void run(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Löst aus:
      IOException