Class ServletFilterWrapperConfig
java.lang.Object
org.ametys.core.servletwrapper.filter.ServletFilterWrapperConfig
- All Implemented Interfaces:
FilterConfig
The runtime filter configuration based on configuration parameters
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
An enumeration based on an iterator -
Constructor Summary
ConstructorDescriptionServletFilterWrapperConfig
(ServletContext servlet, Map<String, String> map) Creates a generic filter -
Method Summary
Modifier and TypeMethodDescriptionGets the filter namegetInitParameter
(String name) Gets the servlet context
-
Constructor Details
-
ServletFilterWrapperConfig
Creates a generic filter- Parameters:
map
- A hashmap of parametersservlet
- A reference to the servlet context
-
-
Method Details
-
getServletContext
Gets the servlet context- Specified by:
getServletContext
in interfaceFilterConfig
-
getFilterName
Gets the filter name- Specified by:
getFilterName
in interfaceFilterConfig
-
getInitParameter
- Specified by:
getInitParameter
in interfaceFilterConfig
-
getInitParameterNames
- Specified by:
getInitParameterNames
in interfaceFilterConfig
-