Uses of Interface
org.glassfish.jersey.process.internal.RequestContext
Packages that use RequestContext
Package
Description
Jersey client-side classes.
Common Jersey internal processing classes.
Jersey server-side classes.
-
Uses of RequestContext in org.glassfish.jersey.client
Fields in org.glassfish.jersey.client declared as RequestContextModifier and TypeFieldDescriptionprivate final RequestContextInboundJaxrsResponse.requestContext -
Uses of RequestContext in org.glassfish.jersey.inject.hk2
Classes in org.glassfish.jersey.inject.hk2 that implement RequestContextModifier and TypeClassDescriptionstatic final classImplementation of the request scope instance.Methods in org.glassfish.jersey.inject.hk2 that return RequestContext -
Uses of RequestContext in org.glassfish.jersey.process.internal
Fields in org.glassfish.jersey.process.internal with type parameters of type RequestContextModifier and TypeFieldDescriptionprivate final ThreadLocal<RequestContext> RequestScope.currentRequestContextA thread local copy of the current scope context.Methods in org.glassfish.jersey.process.internal that return RequestContextModifier and TypeMethodDescriptionabstract RequestContextRequestScope.createContext()Creates a new instance of therequest scope context.RequestScope.current()Returns the currentRequestContextwhich 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.private RequestContextRequestScope.retrieveCurrent()RequestScope.suspendCurrent()Get the currentrequest scope contextand mark it as suspended.Methods in org.glassfish.jersey.process.internal with parameters of type RequestContextModifier and TypeMethodDescriptionprotected voidRequestScope.activate(RequestContext context, RequestContext oldContext) Stores the providedRequestContextto thread-local variable belonging to current request scope.protected voidRequestScope.release(RequestContext context) Releases the providedRequestContextto thread-local variable belonging to current request scope.protected voidRequestScope.resume(RequestContext context) Resumes the providedRequestContextto thread-local variable belonging to current request scope.voidRequestScope.runInScope(RequestContext context, Runnable task) Runs thetaskin the request scope initialized from thescope context.<T> TRequestScope.runInScope(RequestContext context, Callable<T> task) Runs thetaskin the request scope initialized from thescope context.<T> TRequestScope.runInScope(RequestContext context, Producer<T> task) Runs thetaskin the request scope initialized from thescope context.protected voidRequestScope.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 RequestContextModifier and TypeFieldDescriptionprivate final RequestContextServerRuntime.AsyncResponder.requestContextprivate final RequestContextServerRuntime.AsyncResponderHolder.requestContextprivate RequestContextChunkedOutput.requestScopeContextMethods in org.glassfish.jersey.server with parameters of type RequestContextModifier and TypeMethodDescription(package private) voidChunkedOutput.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 RequestContextModifierConstructorDescriptionAsyncResponder(ServerRuntime.Responder responder, RequestContext requestContext, ExternalRequestScope requestScopeListener, ExternalRequestContext<?> foreignScopeInstance) privateAsyncResponderHolder(ServerRuntime.Responder responder, ExternalRequestScope externalRequestScope, RequestContext requestContext, ExternalRequestContext<?> externalContext)