Class ServletConfigImpl

  • All Implemented Interfaces:
    jakarta.servlet.ServletConfig

    public class ServletConfigImpl
    extends Object
    implements jakarta.servlet.ServletConfig
    Basic ServletConfig implementation.
    Author:
    Jeanfrancois Arcand
    • Constructor Detail

      • ServletConfigImpl

        protected ServletConfigImpl​(WebappContext servletContextImpl)
    • Method Detail

      • getServletName

        public String getServletName()
        Specified by:
        getServletName in interface jakarta.servlet.ServletConfig
      • getServletContext

        public jakarta.servlet.ServletContext getServletContext()
        Specified by:
        getServletContext in interface jakarta.servlet.ServletConfig
      • getInitParameter

        public String getInitParameter​(String name)
        Specified by:
        getInitParameter in interface jakarta.servlet.ServletConfig
      • setInitParameters

        protected void setInitParameters​(Map<String,​String> parameters)
      • setServletName

        public void setServletName​(String name)
        Set the name of this servlet.
        Parameters:
        name - The new name of this servlet
      • getInitParameterNames

        public Enumeration<String> getInitParameterNames()
        Specified by:
        getInitParameterNames in interface jakarta.servlet.ServletConfig