Class HttpRequestContextImpl
java.lang.Object
org.jboss.weld.contexts.AbstractContext
org.jboss.weld.contexts.AbstractManagedContext
org.jboss.weld.contexts.AbstractBoundContext<jakarta.servlet.http.HttpServletRequest>
org.jboss.weld.module.web.context.http.HttpRequestContextImpl
- All Implemented Interfaces:
jakarta.enterprise.context.spi.AlterableContext,jakarta.enterprise.context.spi.Context,org.jboss.weld.context.BoundContext<jakarta.servlet.http.HttpServletRequest>,org.jboss.weld.context.http.HttpRequestContext,org.jboss.weld.context.ManagedContext,org.jboss.weld.context.RequestContext,org.jboss.weld.context.WeldAlterableContext
public class HttpRequestContextImpl
extends AbstractBoundContext<jakarta.servlet.http.HttpServletRequest>
implements org.jboss.weld.context.http.HttpRequestContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()booleanassociate(jakarta.servlet.http.HttpServletRequest request) voidjakarta.servlet.http.HttpServletRequestClass<? extends Annotation>getScope()Methods inherited from class org.jboss.weld.contexts.AbstractBoundContext
cleanup, clearAndSet, dissociate, getAllContextualInstances, getBeanStore, setBeanStoreMethods inherited from class org.jboss.weld.contexts.AbstractManagedContext
invalidate, isActive, isValid, removeState, setActiveMethods inherited from class org.jboss.weld.contexts.AbstractContext
checkContextInitialized, destroy, destroy, get, get, getContextual, getId, getServiceRegistry, isMultithreadedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.enterprise.context.spi.AlterableContext
destroyMethods inherited from interface org.jboss.weld.context.BoundContext
dissociateMethods inherited from interface jakarta.enterprise.context.spi.Context
get, get, isActiveMethods inherited from interface org.jboss.weld.context.ManagedContext
invalidateMethods inherited from interface org.jboss.weld.context.WeldAlterableContext
clearAndSet, getAllContextualInstances
-
Constructor Details
-
HttpRequestContextImpl
Constructor
-
-
Method Details
-
associate
public boolean associate(jakarta.servlet.http.HttpServletRequest request) - Specified by:
associatein interfaceorg.jboss.weld.context.BoundContext<jakarta.servlet.http.HttpServletRequest>
-
activate
public void activate()- Specified by:
activatein interfaceorg.jboss.weld.context.ManagedContext- Overrides:
activatein classAbstractBoundContext<jakarta.servlet.http.HttpServletRequest>
-
deactivate
public void deactivate()- Specified by:
deactivatein interfaceorg.jboss.weld.context.ManagedContext- Overrides:
deactivatein classAbstractBoundContext<jakarta.servlet.http.HttpServletRequest>
-
getScope
- Specified by:
getScopein interfacejakarta.enterprise.context.spi.Context
-
getHttpServletRequest
public jakarta.servlet.http.HttpServletRequest getHttpServletRequest()
-