Package | Description |
---|---|
org.glassfish.jersey.inject.cdi.se | |
org.glassfish.jersey.inject.hk2 | |
org.glassfish.jersey.process.internal |
Common Jersey internal processing classes.
|
Modifier and Type | Class and Description |
---|---|
class |
CdiRequestContext
Implementation of the request context.
|
Modifier and Type | Method and Description |
---|---|
RequestContext |
CdiRequestScope.createContext() |
RequestContext |
CdiRequestContext.getReference()
Get a "new" reference of the scope instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CdiRequestScope.activate(RequestContext context,
RequestContext oldContext) |
protected void |
CdiRequestScope.release(RequestContext context) |
protected void |
CdiRequestScope.resume(RequestContext context) |
protected void |
CdiRequestScope.suspend(RequestContext context) |
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 | 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.
|
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,
Callable<T> task)
Runs the
task in the request scope initialized from the
scope context . |
<T> T |
RequestScope.runInScope(RequestContext context,
org.glassfish.jersey.internal.util.Producer<T> task)
Runs the
task in the request scope initialized
from the scope context . |
void |
RequestScope.runInScope(RequestContext context,
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.
|
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.