Class 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 Detail

      • HttpRequestContextImpl

        public HttpRequestContextImpl​(String contextId)
        Constructor
    • Method Detail

      • associate

        public boolean associate​(jakarta.servlet.http.HttpServletRequest request)
        Specified by:
        associate in interface org.jboss.weld.context.BoundContext<jakarta.servlet.http.HttpServletRequest>
      • activate

        public void activate()
        Specified by:
        activate in interface org.jboss.weld.context.ManagedContext
        Overrides:
        activate in class AbstractBoundContext<jakarta.servlet.http.HttpServletRequest>
      • deactivate

        public void deactivate()
        Specified by:
        deactivate in interface org.jboss.weld.context.ManagedContext
        Overrides:
        deactivate in class AbstractBoundContext<jakarta.servlet.http.HttpServletRequest>
      • getScope

        public Class<? extends Annotation> getScope()
        Specified by:
        getScope in interface jakarta.enterprise.context.spi.Context
      • getHttpServletRequest

        public jakarta.servlet.http.HttpServletRequest getHttpServletRequest()