Class AsyncResponseImpl

    • Constructor Detail

      • AsyncResponseImpl

        public AsyncResponseImpl​(Message inMessage)
    • Method Detail

      • resume

        public boolean resume​(Object response)
        Specified by:
        resume in interface javax.ws.rs.container.AsyncResponse
      • resume

        public boolean resume​(Throwable response)
        Specified by:
        resume in interface javax.ws.rs.container.AsyncResponse
      • cancel

        public boolean cancel()
        Specified by:
        cancel in interface javax.ws.rs.container.AsyncResponse
      • cancel

        public boolean cancel​(int retryAfter)
        Specified by:
        cancel in interface javax.ws.rs.container.AsyncResponse
      • cancel

        public boolean cancel​(Date retryAfter)
        Specified by:
        cancel in interface javax.ws.rs.container.AsyncResponse
      • isSuspended

        public boolean isSuspended()
        Specified by:
        isSuspended in interface javax.ws.rs.container.AsyncResponse
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface javax.ws.rs.container.AsyncResponse
      • isDone

        public boolean isDone()
        Specified by:
        isDone in interface javax.ws.rs.container.AsyncResponse
      • setTimeoutHandler

        public void setTimeoutHandler​(javax.ws.rs.container.TimeoutHandler handler)
        Specified by:
        setTimeoutHandler in interface javax.ws.rs.container.AsyncResponse
      • onError

        public void onError​(Throwable error)
        Description copied from interface: ContinuationCallback
        This method is called when the exception gets propagated to the container
        Specified by:
        onError in interface ContinuationCallback
        Parameters:
        error - the propagated exception instance
      • suspendContinuationIfNeeded

        public boolean suspendContinuationIfNeeded()
      • getResponseObject

        public Object getResponseObject()
      • isResumedByApplication

        public boolean isResumedByApplication()
      • handleTimeout

        public void handleTimeout()
      • prepareContinuation

        public void prepareContinuation()
      • setUnmappedThrowable

        public void setUnmappedThrowable​(Throwable t)
      • reset

        public void reset()