Class ServletWrapperConfig
java.lang.Object
org.ametys.core.servletwrapper.servlet.ServletWrapperConfig
- All Implemented Interfaces:
ServletConfig
The wrapped servlet configuration based on configuration parameters (as if there were a web.xml)
-
Constructor Summary
ConstructorDescriptionServletWrapperConfig
(String servletName, ServletContext servletContext, Map<String, String> parameters) set the configuration -
Method Summary
-
Constructor Details
-
ServletWrapperConfig
public ServletWrapperConfig(String servletName, ServletContext servletContext, Map<String, String> parameters) set the configuration- Parameters:
servletName
- servlet-nameservletContext
- Contextparameters
- init-param
-
-
Method Details
-
getServletName
- Specified by:
getServletName
in interfaceServletConfig
-
getServletContext
- Specified by:
getServletContext
in interfaceServletConfig
-
getInitParameter
- Specified by:
getInitParameter
in interfaceServletConfig
-
getInitParameterNames
- Specified by:
getInitParameterNames
in interfaceServletConfig
-