Uses of Interface
org.glassfish.jersey.process.internal.RequestContext
-
Packages that use RequestContext 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. -
-
Uses of RequestContext in org.glassfish.jersey.client
Fields in org.glassfish.jersey.client declared as RequestContext Modifier and Type Field Description private RequestContext
InboundJaxrsResponse. requestContext
-
Uses of RequestContext in org.glassfish.jersey.inject.hk2
Classes in org.glassfish.jersey.inject.hk2 that implement RequestContext Modifier and Type Class Description static class
Hk2RequestScope.Instance
Implementation of the request scope instance.Methods in org.glassfish.jersey.inject.hk2 that return RequestContext Modifier and Type Method Description RequestContext
Hk2RequestScope. createContext()
-
Uses of RequestContext in org.glassfish.jersey.process.internal
Fields in org.glassfish.jersey.process.internal with type parameters of type RequestContext Modifier and Type Field Description private java.lang.ThreadLocal<RequestContext>
RequestScope. currentRequestContext
A thread local copy of the current scope context.Methods in org.glassfish.jersey.process.internal that return RequestContext Modifier and Type Method Description abstract RequestContext
RequestScope. createContext()
Creates a new instance of therequest scope context
.RequestContext
RequestScope. current()
Returns the currentRequestContext
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 currentrequest scope context
and mark it as suspended.Methods in org.glassfish.jersey.process.internal with parameters of type RequestContext Modifier and Type Method Description protected 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, java.lang.Runnable task)
Runs thetask
in the request scope initialized from thescope context
.<T> T
RequestScope. runInScope(RequestContext context, java.util.concurrent.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. -
Uses of RequestContext in org.glassfish.jersey.server
Fields in org.glassfish.jersey.server declared as RequestContext Modifier and Type Field Description private RequestContext
ServerRuntime.AsyncResponder. requestContext
private RequestContext
ServerRuntime.AsyncResponderHolder. requestContext
private RequestContext
ChunkedOutput. requestScopeContext
Methods in org.glassfish.jersey.server with parameters of type RequestContext Modifier and Type Method 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.Constructors in org.glassfish.jersey.server with parameters of type RequestContext Constructor Description AsyncResponder(ServerRuntime.Responder responder, RequestContext requestContext, ExternalRequestScope requestScopeListener, ExternalRequestContext<?> foreignScopeInstance)
AsyncResponderHolder(ServerRuntime.Responder responder, ExternalRequestScope externalRequestScope, RequestContext requestContext, ExternalRequestContext<?> externalContext)
-