Interface ServletConfig

All Known Subinterfaces:
ServletEnvironment
All Known Implementing Classes:
DefaultServlet, DefaultServletEnvironment, GenericServlet, HttpServlet, SmallRyeHealthServlet, SmallRyeLivenessServlet, SmallRyeReadinessServlet

public interface ServletConfig
The ServletConfig API.
Author:
Manfred Riem ([email protected])
  • Method Details

    • getInitParameter

      String getInitParameter(String name)
      Get the init parameter.
      Parameters:
      name - the name.
      Returns:
      the value, or null if not found.
    • getInitParameterNames

      Enumeration<String> getInitParameterNames()
      Returns the init parameter names.
      Returns:
      the init parameter names
    • getServletContext

      ServletContext getServletContext()
      Returns the servlet context.
      Returns:
      the servlet context
    • getServletName

      String getServletName()
      Returns the servlet name.
      Returns:
      the servlet name