Package org.jboss.resteasy.spi
Interface ResteasyAsynchronousContext
- All Known Implementing Classes:
AbstractExecutionContext,SynchronousExecutionContext
public interface ResteasyAsynchronousContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete()executeBlockingIo(RunnableWithException f, boolean hasInterceptors) voidvoidbooleanbooleansuspend()suspend(long millis)
-
Method Details
-
initialRequestStarted
void initialRequestStarted() -
initialRequestEnded
void initialRequestEnded() -
isOnInitialRequest
boolean isOnInitialRequest() -
isSuspended
boolean isSuspended() -
getAsyncResponse
ResteasyAsynchronousResponse getAsyncResponse() -
suspend
- Throws:
IllegalStateException
-
suspend
- Throws:
IllegalStateException
-
suspend
- Throws:
IllegalStateException
-
complete
void complete() -
executeBlockingIo
-
executeAsyncIo
-