Class VertxHttpRequest.VertxExecutionContext
java.lang.Object
org.jboss.resteasy.core.AbstractExecutionContext
io.quarkus.resteasy.runtime.standalone.VertxHttpRequest.VertxExecutionContext
- All Implemented Interfaces:
org.jboss.resteasy.spi.ResteasyAsynchronousContext
- Enclosing class:
- VertxHttpRequest
class VertxHttpRequest.VertxExecutionContext
extends org.jboss.resteasy.core.AbstractExecutionContext
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classVertx implementation ofAsyncResponse. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected final VertxHttpRequestprotected final VertxHttpResponseprotected booleanFields inherited from class org.jboss.resteasy.core.AbstractExecutionContext
dispatcher -
Constructor Summary
ConstructorsConstructorDescriptionVertxExecutionContext(VertxHttpRequest request, VertxHttpResponse response, org.jboss.resteasy.core.SynchronousDispatcher dispatcher) -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete()executeBlockingIo(org.jboss.resteasy.spi.RunnableWithException f, boolean hasInterceptors) org.jboss.resteasy.spi.ResteasyAsynchronousResponsebooleanorg.jboss.resteasy.spi.ResteasyAsynchronousResponsesuspend()org.jboss.resteasy.spi.ResteasyAsynchronousResponsesuspend(long millis) org.jboss.resteasy.spi.ResteasyAsynchronousResponseMethods inherited from class org.jboss.resteasy.core.AbstractExecutionContext
initialRequestEnded, initialRequestStarted, isOnInitialRequest
-
Field Details
-
request
-
response
-
done
protected volatile boolean done -
cancelled
protected volatile boolean cancelled -
wasSuspended
protected volatile boolean wasSuspended -
asyncResponse
-
-
Constructor Details
-
VertxExecutionContext
VertxExecutionContext(VertxHttpRequest request, VertxHttpResponse response, org.jboss.resteasy.core.SynchronousDispatcher dispatcher)
-
-
Method Details
-
isSuspended
public boolean isSuspended() -
getAsyncResponse
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse getAsyncResponse() -
suspend
- Throws:
IllegalStateException
-
suspend
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse suspend(long millis) throws IllegalStateException - Throws:
IllegalStateException
-
suspend
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse suspend(long time, TimeUnit unit) throws IllegalStateException - Throws:
IllegalStateException
-
complete
public void complete() -
executeAsyncIo
-
executeBlockingIo
public CompletionStage<Void> executeBlockingIo(org.jboss.resteasy.spi.RunnableWithException f, boolean hasInterceptors)
-