Class FilterHostConfig
java.lang.Object
org.apache.struts2.dispatcher.filter.FilterHostConfig
- All Implemented Interfaces:
HostConfig
Host configuration that wraps FilterConfig
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FilterHostConfig
public FilterHostConfig(jakarta.servlet.FilterConfig config)
-
-
Method Details
-
getInitParameter
- Specified by:
getInitParameter
in interfaceHostConfig
- Parameters:
key
- The parameter key- Returns:
- The parameter value
-
getInitParameterNames
- Specified by:
getInitParameterNames
in interfaceHostConfig
- Returns:
- A list of parameter names
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()- Specified by:
getServletContext
in interfaceHostConfig
- Returns:
- The servlet context
-