Class SynchronousExecutionContext.SynchronousAsynchronousResponse

    • Field Detail

      • cancelled

        protected boolean cancelled
    • Method Detail

      • resume

        public boolean resume​(java.lang.Object entity)
      • resume

        public boolean resume​(java.lang.Throwable exc)
                       throws java.lang.IllegalStateException
        Throws:
        java.lang.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,
                                  java.util.concurrent.TimeUnit unit)
                           throws java.lang.IllegalStateException
        Throws:
        java.lang.IllegalStateException
      • cancel

        public boolean cancel()
      • cancel

        public boolean cancel​(int retryAfter)
      • cancel

        public boolean cancel​(java.util.Date retryAfter)
      • isSuspended

        public boolean isSuspended()
      • isCancelled

        public boolean isCancelled()
      • isDone

        public boolean isDone()