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 Details

    • HttpRequestContextImpl

      public HttpRequestContextImpl(String contextId)
      Constructor
  • Method Details

    • 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()