public interface RequestContext extends ManagedContext
The built in request context is associated with
RequestScoped and is a managed context which can be activated,
invalidated and deactivated.
@ Inject @ Http RequestContext requestContext;
@ Inject @ Bound RequestContext requestContext;
Additionally, Weld provides an unbound request context (which is automatially bound to the thread) which can be injected:
@ Inject @ Unbound RequestContext requestContext;
Finally, Weld provides a request context which is bound to an
InvocationContext and can be injected:
@ Inject @ Ejb RequestContext requestContext;
activate, deactivate, invalidate
Copyright © 2021 JBoss by Red Hat. All rights reserved.