org.apache.struts2.dispatcher.ng.servlet
类 ServletHostConfig
java.lang.Object
org.apache.struts2.dispatcher.ng.servlet.ServletHostConfig
- 所有已实现的接口:
- HostConfig
public class ServletHostConfig
- extends Object
- implements HostConfig
Host configuration that wraps a ServletConfig
ServletHostConfig
public ServletHostConfig(javax.servlet.ServletConfig config)
getInitParameter
public String getInitParameter(String key)
- 指定者:
- 接口
HostConfig
中的 getInitParameter
- 参数:
key
- The parameter key
- 返回:
- The parameter value
getInitParameterNames
public Iterator<String> getInitParameterNames()
- 指定者:
- 接口
HostConfig
中的 getInitParameterNames
- 返回:
- A list of parameter names
getServletContext
public javax.servlet.ServletContext getServletContext()
- 指定者:
- 接口
HostConfig
中的 getServletContext
- 返回:
- The servlet context