public interface ResteasyAsynchronousContext
Modifier and Type | Method and Description |
---|---|
void |
complete() |
CompletionStage<Void> |
executeAsyncIo(CompletionStage<Void> f) |
CompletionStage<Void> |
executeBlockingIo(RunnableWithException f,
boolean hasInterceptors) |
ResteasyAsynchronousResponse |
getAsyncResponse() |
void |
initialRequestEnded() |
void |
initialRequestStarted() |
boolean |
isOnInitialRequest() |
boolean |
isSuspended() |
ResteasyAsynchronousResponse |
suspend() |
ResteasyAsynchronousResponse |
suspend(long millis) |
ResteasyAsynchronousResponse |
suspend(long time,
TimeUnit unit) |
void initialRequestStarted()
void initialRequestEnded()
boolean isOnInitialRequest()
boolean isSuspended()
ResteasyAsynchronousResponse getAsyncResponse()
ResteasyAsynchronousResponse suspend() throws IllegalStateException
IllegalStateException
ResteasyAsynchronousResponse suspend(long millis) throws IllegalStateException
IllegalStateException
ResteasyAsynchronousResponse suspend(long time, TimeUnit unit) throws IllegalStateException
IllegalStateException
void complete()
CompletionStage<Void> executeBlockingIo(RunnableWithException f, boolean hasInterceptors)
CompletionStage<Void> executeAsyncIo(CompletionStage<Void> f)
Copyright © 2020 JBoss by Red Hat. All rights reserved.