Class SynchronousExecutionContext.SynchronousAsynchronousResponse

java.lang.Object
org.jboss.resteasy.core.AbstractAsynchronousResponse
org.jboss.resteasy.core.SynchronousExecutionContext.SynchronousAsynchronousResponse
All Implemented Interfaces:
jakarta.ws.rs.container.AsyncResponse, ResourceMethodInvokerAwareResponse, ResteasyAsynchronousResponse
Enclosing class:
SynchronousExecutionContext

protected class SynchronousExecutionContext.SynchronousAsynchronousResponse extends AbstractAsynchronousResponse
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • cancelled

      protected boolean cancelled
  • Constructor Details

  • Method Details

    • complete

      public void complete()
    • resume

      public boolean resume(Object entity)
    • resume

      public boolean resume(Throwable exc) throws IllegalStateException
      Throws:
      IllegalStateException
    • initialRequestThreadFinished

      public void initialRequestThreadFinished()
      Description copied from interface: ResteasyAsynchronousResponse
      Callback by the initial http request thread. It is used to help simulate suspend/resume asynchronous semantics in containers that do not support asychronous HTTP. This method is a no-op in environments that support async HTTP.
    • setTimeout

      public boolean setTimeout(long time, TimeUnit unit) throws IllegalStateException
      Throws:
      IllegalStateException
    • cancel

      public boolean cancel()
    • cancel

      public boolean cancel(int retryAfter)
    • cancel

      public boolean cancel(Date retryAfter)
    • isSuspended

      public boolean isSuspended()
    • isCancelled

      public boolean isCancelled()
    • isDone

      public boolean isDone()