Class ServletRequestContext

  • All Implemented Interfaces:
    jakarta.enterprise.context.spi.AlterableContext, jakarta.enterprise.context.spi.Context, Serializable

    public class ServletRequestContext
    extends org.apache.webbeans.context.RequestContext
    RequestContext which additionally holds the current servletRequest for being able to lazily initialise the SessionContext if needed.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.webbeans.context.AbstractContext

        active, componentInstanceMap, scopeType
    • Constructor Detail

      • ServletRequestContext

        public ServletRequestContext()
    • Method Detail

      • getRequestObject

        public Object getRequestObject()
        Overrides:
        getRequestObject in class org.apache.webbeans.context.RequestContext
      • getServletRequest

        public jakarta.servlet.http.HttpServletRequest getServletRequest()
      • setServletRequest

        public void setServletRequest​(jakarta.servlet.http.HttpServletRequest servletRequest)
      • destroy

        public void destroy()
        Overrides:
        destroy in class org.apache.webbeans.context.AbstractContext