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 Classes Modifier and Type Class Description (package private) classVertxHttpRequest.VertxExecutionContext.VertxHttpAsyncResponseVertx implementation ofAsyncResponse.
-
Field Summary
Fields Modifier and Type Field Description protected VertxHttpRequest.VertxExecutionContext.VertxHttpAsyncResponseasyncResponseprotected booleancancelledprotected booleandoneprotected VertxHttpRequestrequestprotected VertxHttpResponseresponseprotected booleanwasSuspended
-
Constructor Summary
Constructors Constructor Description VertxExecutionContext(VertxHttpRequest request, VertxHttpResponse response, org.jboss.resteasy.core.SynchronousDispatcher dispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete()CompletionStage<Void>executeAsyncIo(CompletionStage<Void> f)CompletionStage<Void>executeBlockingIo(org.jboss.resteasy.spi.RunnableWithException f, boolean hasInterceptors)org.jboss.resteasy.spi.ResteasyAsynchronousResponsegetAsyncResponse()booleanisSuspended()org.jboss.resteasy.spi.ResteasyAsynchronousResponsesuspend()org.jboss.resteasy.spi.ResteasyAsynchronousResponsesuspend(long millis)org.jboss.resteasy.spi.ResteasyAsynchronousResponsesuspend(long time, TimeUnit unit)
-
-
-
Field Detail
-
request
protected final VertxHttpRequest request
-
response
protected final VertxHttpResponse response
-
done
protected volatile boolean done
-
cancelled
protected volatile boolean cancelled
-
wasSuspended
protected volatile boolean wasSuspended
-
asyncResponse
protected VertxHttpRequest.VertxExecutionContext.VertxHttpAsyncResponse asyncResponse
-
-
Constructor Detail
-
VertxExecutionContext
VertxExecutionContext(VertxHttpRequest request, VertxHttpResponse response, org.jboss.resteasy.core.SynchronousDispatcher dispatcher)
-
-
Method Detail
-
isSuspended
public boolean isSuspended()
-
getAsyncResponse
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse getAsyncResponse()
-
suspend
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse suspend() throws IllegalStateException- 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
public CompletionStage<Void> executeAsyncIo(CompletionStage<Void> f)
-
executeBlockingIo
public CompletionStage<Void> executeBlockingIo(org.jboss.resteasy.spi.RunnableWithException f, boolean hasInterceptors)
-
-