Package org.jboss.resteasy.core
Class AbstractExecutionContext
java.lang.Object
org.jboss.resteasy.core.AbstractExecutionContext
- All Implemented Interfaces:
ResteasyAsynchronousContext
- Direct Known Subclasses:
SynchronousExecutionContext
public abstract class AbstractExecutionContext
extends Object
implements ResteasyAsynchronousContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SynchronousDispatcherprotected HttpRequestprotected HttpResponse -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractExecutionContext(SynchronousDispatcher dispatcher, HttpRequest request, HttpResponse response) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.resteasy.spi.ResteasyAsynchronousContext
complete, executeAsyncIo, executeBlockingIo, getAsyncResponse, isSuspended, suspend, suspend, suspend
-
Field Details
-
dispatcher
-
request
-
response
-
-
Constructor Details
-
AbstractExecutionContext
protected AbstractExecutionContext(SynchronousDispatcher dispatcher, HttpRequest request, HttpResponse response)
-
-
Method Details
-
initialRequestStarted
public void initialRequestStarted()- Specified by:
initialRequestStartedin interfaceResteasyAsynchronousContext
-
isOnInitialRequest
public boolean isOnInitialRequest()- Specified by:
isOnInitialRequestin interfaceResteasyAsynchronousContext
-
initialRequestEnded
public void initialRequestEnded()- Specified by:
initialRequestEndedin interfaceResteasyAsynchronousContext
-