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
Modifier and TypeFieldDescriptionprotected SynchronousDispatcher
protected HttpRequest
protected HttpResponse
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractExecutionContext
(SynchronousDispatcher dispatcher, HttpRequest request, HttpResponse response) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
initialRequestStarted
in interfaceResteasyAsynchronousContext
-
isOnInitialRequest
public boolean isOnInitialRequest()- Specified by:
isOnInitialRequest
in interfaceResteasyAsynchronousContext
-
initialRequestEnded
public void initialRequestEnded()- Specified by:
initialRequestEnded
in interfaceResteasyAsynchronousContext
-