Class Field

    • Field Detail

      • scope

        protected int scope
    • Method Detail

      • setName

        public void setName​(String name)
        set the associated name
        Parameters:
        name - name of this field
      • setScope

        public void setScope​(int scope)
        set the associated scope
        Parameters:
        scope - scope of this field
      • getName

        public String getName()
        get the associated name
        Returns:
        the name of this field
      • getScope

        public int getScope()
        get the associated scope
        Returns:
        the scope of this field
      • getValue

        public Object getValue​(jakarta.servlet.ServletContext context,
                               jakarta.servlet.http.HttpServletRequest request)
        get the field value by looking up in the given scope
        Parameters:
        context - ServletContext underlying web app context
        request - HttpServletRequest
        Returns:
        field value in the scope