Package | Description |
---|---|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.process.internal |
Common Jersey internal processing classes.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
Modifier and Type | Field and Description |
---|---|
private RequestScope.Instance |
InboundJaxrsResponse.scopeInstance |
Modifier and Type | Field and Description |
---|---|
private java.lang.ThreadLocal<RequestScope.Instance> |
RequestScope.currentScopeInstance
A thread local copy of the current scope instance.
|
Modifier and Type | Method and Description |
---|---|
RequestScope.Instance |
RequestScope.createInstance()
Creates a new instance of the
request scope instance . |
private RequestScope.Instance |
RequestScope.current() |
private RequestScope.Instance |
RequestScope.Instance.getReference()
Get a "new" reference of the scope instance.
|
RequestScope.Instance |
RequestScope.referenceCurrent()
Get a new reference for to currently running request scope instance.
|
private RequestScope.Instance |
RequestScope.retrieveCurrent() |
RequestScope.Instance |
RequestScope.suspendCurrent()
Get the current
request scope instance
and mark it as suspended. |
Modifier and Type | Method and Description |
---|---|
private void |
RequestScope.resumeCurrent(RequestScope.Instance instance) |
<T> T |
RequestScope.runInScope(RequestScope.Instance scopeInstance,
java.util.concurrent.Callable<T> task)
Runs the
task in the request scope initialized from the
scope instance . |
<T> T |
RequestScope.runInScope(RequestScope.Instance scopeInstance,
Producer<T> task)
Runs the
task in the request scope initialized
from the scope instance . |
void |
RequestScope.runInScope(RequestScope.Instance scopeInstance,
java.lang.Runnable task)
Runs the
task in the request scope initialized from the
scope instance . |
private void |
RequestScope.setCurrent(RequestScope.Instance instance) |
Modifier and Type | Field and Description |
---|---|
private RequestScope.Instance |
ChunkedOutput.requestScopeInstance |
private RequestScope.Instance |
ServerRuntime.AsyncResponderHolder.scopeInstance |
private RequestScope.Instance |
ServerRuntime.AsyncResponder.scopeInstance |
Modifier and Type | Method and Description |
---|---|
(package private) void |
ChunkedOutput.setContext(RequestScope requestScope,
RequestScope.Instance requestScopeInstance,
ContainerRequest requestContext,
ContainerResponse responseContext,
javax.ws.rs.container.ConnectionCallback connectionCallbackRunner,
Value<AsyncContext> asyncContext)
Set context used for writing chunks.
|
Constructor and Description |
---|
AsyncResponder(ServerRuntime.Responder responder,
RequestScope.Instance scopeInstance,
ExternalRequestScope requestScopeListener,
ExternalRequestContext<?> foreignScopeInstance) |
AsyncResponderHolder(ServerRuntime.Responder responder,
ExternalRequestScope externalRequestScope,
RequestScope.Instance scopeInstance,
ExternalRequestContext<?> externalContext) |