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(Date retryAfter) |
boolean |
cancel(int retryAfter) |
void |
initialRequestThreadFinished()
Callback by the initial http request thread.
|
boolean |
isCancelled() |
boolean |
isDone() |
boolean |
isSuspended() |
boolean |
resume(Object entity) |
boolean |
resume(Throwable exc) |
boolean |
setTimeout(long time,
TimeUnit unit) |
completionCallbacks, getAnnotations, getMethod, getResponseFilters, getWriterInterceptors, internalResume, internalResume, register, register, register, register, setAnnotations, setMethod, setResponseFilters, setTimeoutHandler, setWriterInterceptors
public SynchronousAsynchronousResponse(SynchronousDispatcher dispatcher, HttpRequest request, HttpResponse response)
public boolean resume(Object entity)
public boolean resume(Throwable exc) throws IllegalStateException
IllegalStateException
public void initialRequestThreadFinished()
ResteasyAsynchronousResponse
public boolean setTimeout(long time, TimeUnit unit) throws IllegalStateException
IllegalStateException
public boolean cancel()
public boolean cancel(int retryAfter)
public boolean cancel(Date retryAfter)
public boolean isSuspended()
public boolean isCancelled()
public boolean isDone()
Copyright © 2018. All rights reserved.