protected class SynchronousExecutionContext.SynchronousAsynchronousResponse extends AbstractAsynchronousResponse
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cancelled |
annotations, completionCallbacks, contextDataMap, dispatcher, method, request, response, responseFilters, timeoutHandler, writerInterceptors| Constructor and Description |
|---|
SynchronousAsynchronousResponse(SynchronousDispatcher dispatcher,
HttpRequest request,
HttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel() |
boolean |
cancel(java.util.Date retryAfter) |
boolean |
cancel(int retryAfter) |
void |
initialRequestThreadFinished()
Callback by the initial http request thread.
|
boolean |
isCancelled() |
boolean |
isDone() |
boolean |
isSuspended() |
boolean |
resume(java.lang.Object entity) |
boolean |
resume(java.lang.Throwable exc) |
boolean |
setTimeout(long time,
java.util.concurrent.TimeUnit unit) |
completionCallbacks, getAnnotations, getMethod, getResponseFilters, getWriterInterceptors, internalResume, internalResume, register, register, register, register, setAnnotations, setMethod, setResponseFilters, setTimeoutHandler, setWriterInterceptorspublic SynchronousAsynchronousResponse(SynchronousDispatcher dispatcher, HttpRequest request, HttpResponse response)
public boolean resume(java.lang.Object entity)
public boolean resume(java.lang.Throwable exc)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void initialRequestThreadFinished()
ResteasyAsynchronousResponsepublic boolean setTimeout(long time,
java.util.concurrent.TimeUnit unit)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic boolean cancel()
public boolean cancel(int retryAfter)
public boolean cancel(java.util.Date retryAfter)
public boolean isSuspended()
public boolean isCancelled()
public boolean isDone()