class VertxHttpRequest.VertxExecutionContext
extends org.jboss.resteasy.core.AbstractExecutionContext
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
VertxHttpRequest.VertxExecutionContext.VertxHttpAsyncResponse
Vertx implementation of
AsyncResponse. |
| Modifier and Type | Field and Description |
|---|---|
protected VertxHttpRequest.VertxExecutionContext.VertxHttpAsyncResponse |
asyncResponse |
protected boolean |
cancelled |
protected boolean |
done |
protected VertxHttpRequest |
request |
protected VertxHttpResponse |
response |
protected boolean |
wasSuspended |
| Constructor and Description |
|---|
VertxExecutionContext(VertxHttpRequest request,
VertxHttpResponse response,
org.jboss.resteasy.core.SynchronousDispatcher dispatcher) |
| Modifier and Type | Method and 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) |
protected final VertxHttpRequest request
protected final VertxHttpResponse response
protected volatile boolean done
protected volatile boolean cancelled
protected volatile boolean wasSuspended
protected VertxHttpRequest.VertxExecutionContext.VertxHttpAsyncResponse asyncResponse
VertxExecutionContext(VertxHttpRequest request, VertxHttpResponse response, org.jboss.resteasy.core.SynchronousDispatcher dispatcher)
public boolean isSuspended()
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse getAsyncResponse()
public org.jboss.resteasy.spi.ResteasyAsynchronousResponse suspend()
throws IllegalStateException
IllegalStateExceptionpublic org.jboss.resteasy.spi.ResteasyAsynchronousResponse suspend(long millis)
throws IllegalStateException
IllegalStateExceptionpublic org.jboss.resteasy.spi.ResteasyAsynchronousResponse suspend(long time,
TimeUnit unit)
throws IllegalStateException
IllegalStateExceptionpublic void complete()
public CompletionStage<Void> executeAsyncIo(CompletionStage<Void> f)
public CompletionStage<Void> executeBlockingIo(org.jboss.resteasy.spi.RunnableWithException f, boolean hasInterceptors)
Copyright © 2020 JBoss by Red Hat. All rights reserved.