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) class
VertxHttpRequest.VertxExecutionContext.VertxHttpAsyncResponse
Vertx implementation ofAsyncResponse
.
-
Field Summary
Fields Modifier and Type Field Description protected VertxHttpRequest.VertxExecutionContext.VertxHttpAsyncResponse
asyncResponse
protected boolean
cancelled
protected boolean
done
protected VertxHttpRequest
request
protected VertxHttpResponse
response
protected boolean
wasSuspended
-
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 void
complete()
CompletionStage<Void>
executeAsyncIo(CompletionStage<Void> f)
CompletionStage<Void>
executeBlockingIo(org.jboss.resteasy.spi.RunnableWithException f, boolean hasInterceptors)
org.jboss.resteasy.spi.ResteasyAsynchronousResponse
getAsyncResponse()
boolean
isSuspended()
org.jboss.resteasy.spi.ResteasyAsynchronousResponse
suspend()
org.jboss.resteasy.spi.ResteasyAsynchronousResponse
suspend(long millis)
org.jboss.resteasy.spi.ResteasyAsynchronousResponse
suspend(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)
-
-