org.apache.struts2.dispatcher.ng
接口 HostConfig
- 所有已知实现类:
- FilterHostConfig, ListenerHostConfig, ServletHostConfig
public interface HostConfig
Abstraction for host configuration information such as init params or the servlet context.
getInitParameter
String getInitParameter(String key)
- 参数:
key
- The parameter key
- 返回:
- The parameter value
getInitParameterNames
Iterator<String> getInitParameterNames()
- 返回:
- A list of parameter names
getServletContext
javax.servlet.ServletContext getServletContext()
- 返回:
- The servlet context