Package org.apache.struts2.dispatcher
Interface HostConfig
- All Known Implementing Classes:
FilterHostConfig
,ListenerHostConfig
,ServletHostConfig
public interface HostConfig
Abstraction for host configuration information such as init params or the servlet context.
-
Method Summary
-
Method Details
-
getInitParameter
- Parameters:
key
- The parameter key- Returns:
- The parameter value
-
getInitParameterNames
- Returns:
- A list of parameter names
-
getServletContext
jakarta.servlet.ServletContext getServletContext()- Returns:
- The servlet context
-