Uses of Interface
org.glassfish.jersey.process.internal.RequestContext
Packages that use RequestContext
Package
Description
Common Jersey internal processing classes.
-
Uses of RequestContext in org.glassfish.jersey.inject.cdi.se
Classes in org.glassfish.jersey.inject.cdi.se that implement RequestContextModifier and TypeClassDescriptionfinal class
Implementation of the request context.Methods in org.glassfish.jersey.inject.cdi.se that return RequestContextModifier and TypeMethodDescriptionCdiRequestScope.createContext()
CdiRequestContext.getReference()
Get a "new" reference of the scope instance.Methods in org.glassfish.jersey.inject.cdi.se with parameters of type RequestContextModifier and TypeMethodDescriptionprotected 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) -
Uses of RequestContext in org.glassfish.jersey.inject.hk2
Classes in org.glassfish.jersey.inject.hk2 that implement RequestContextModifier and TypeClassDescriptionstatic final class
Implementation of the request scope instance.Methods in org.glassfish.jersey.inject.hk2 that return RequestContext -
Uses of RequestContext in org.glassfish.jersey.process.internal
Methods in org.glassfish.jersey.process.internal that return RequestContextModifier and TypeMethodDescriptionabstract RequestContext
RequestScope.createContext()
Creates a new instance of therequest scope context
.RequestScope.current()
Returns the currentRequestContext
which has to be active on the given thread.RequestContext.getReference()
Get a "new" reference of the scope instance.RequestScope.referenceCurrent()
Get a new reference for to currently running request scope context.RequestScope.suspendCurrent()
Get the currentrequest scope context
and mark it as suspended.Methods in org.glassfish.jersey.process.internal with parameters of type RequestContextModifier and TypeMethodDescriptionprotected void
RequestScope.activate
(RequestContext context, RequestContext oldContext) Stores the providedRequestContext
to thread-local variable belonging to current request scope.protected void
RequestScope.release
(RequestContext context) Releases the providedRequestContext
to thread-local variable belonging to current request scope.protected void
RequestScope.resume
(RequestContext context) Resumes the providedRequestContext
to thread-local variable belonging to current request scope.void
RequestScope.runInScope
(RequestContext context, Runnable task) Runs thetask
in the request scope initialized from thescope context
.<T> T
RequestScope.runInScope
(RequestContext context, Callable<T> task) Runs thetask
in the request scope initialized from thescope context
.<T> T
RequestScope.runInScope
(RequestContext context, Producer<T> task) Runs thetask
in the request scope initialized from thescope context
.protected void
RequestScope.suspend
(RequestContext context) Executes the action when the request scope comes into suspended state.