- 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 Summary
Modifier and TypeMethodDescriptiongetInitParameter(String name)
Get the init parameter.Returns the init parameter names.Returns the servlet context.Returns the servlet name.
-
Method Details
-
getInitParameter
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
-