Package | Description |
---|---|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.inject.hk2 | |
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 RequestContext |
InboundJaxrsResponse.requestContext |
Modifier and Type | Class and Description |
---|---|
static class |
Hk2RequestScope.Instance
Implementation of the request scope instance.
|
Modifier and Type | Method and Description |
---|---|
RequestContext |
Hk2RequestScope.createContext() |
Modifier and Type | Field and Description |
---|---|
private java.lang.ThreadLocal<RequestContext> |
RequestScope.currentRequestContext
A thread local copy of the current scope context.
|
Modifier and Type | Method and Description |
---|---|
abstract RequestContext |
RequestScope.createContext()
Creates a new instance of the
request scope context . |
RequestContext |
RequestScope.current()
Returns the current
RequestContext which has to be active on the given thread. |
RequestContext |
RequestContext.getReference()
Get a "new" reference of the scope instance.
|
RequestContext |
RequestScope.referenceCurrent()
Get a new reference for to currently running request scope context.
|
private RequestContext |
RequestScope.retrieveCurrent() |
RequestContext |
RequestScope.suspendCurrent()
Get the current
request scope context
and mark it as suspended. |
Modifier and Type | Method and Description |
---|---|
protected void |
RequestScope.activate(RequestContext context,
RequestContext oldContext)
Stores the provided
RequestContext to thread-local variable belonging to current request scope. |
protected void |
RequestScope.release(RequestContext context)
Releases the provided
RequestContext to thread-local variable belonging to current request scope. |
protected void |
RequestScope.resume(RequestContext context)
Resumes the provided
RequestContext to thread-local variable belonging to current request scope. |
<T> T |
RequestScope.runInScope(RequestContext context,
java.util.concurrent.Callable<T> task)
Runs the
task in the request scope initialized from the
scope context . |
<T> T |
RequestScope.runInScope(RequestContext context,
Producer<T> task)
Runs the
task in the request scope initialized
from the scope context . |
void |
RequestScope.runInScope(RequestContext context,
java.lang.Runnable task)
Runs the
task in the request scope initialized from the
scope context . |
protected void |
RequestScope.suspend(RequestContext context)
Executes the action when the request scope comes into suspended state.
|
Modifier and Type | Field and Description |
---|---|
private RequestContext |
ServerRuntime.AsyncResponderHolder.requestContext |
private RequestContext |
ServerRuntime.AsyncResponder.requestContext |
private RequestContext |
ChunkedOutput.requestScopeContext |
Modifier and Type | Method and Description |
---|---|
(package private) void |
ChunkedOutput.setContext(RequestScope requestScope,
RequestContext requestScopeContext,
ContainerRequest requestContext,
ContainerResponse responseContext,
javax.ws.rs.container.ConnectionCallback connectionCallbackRunner)
Set context used for writing chunks.
|
Constructor and Description |
---|
AsyncResponder(ServerRuntime.Responder responder,
RequestContext requestContext,
ExternalRequestScope requestScopeListener,
ExternalRequestContext<?> foreignScopeInstance) |
AsyncResponderHolder(ServerRuntime.Responder responder,
ExternalRequestScope externalRequestScope,
RequestContext requestContext,
ExternalRequestContext<?> externalContext) |