接口 org.apache.struts2.dispatcher.ng.HostConfig
的使用

使用 HostConfig 的软件包
org.apache.struts2.dispatcher Classes for action dispatching in Struts (the Controller part of MVC). 
org.apache.struts2.dispatcher.ng This package contains a reimagining of the traditional Struts filter dispatchers. 
org.apache.struts2.dispatcher.ng.filter   
org.apache.struts2.dispatcher.ng.listener   
org.apache.struts2.dispatcher.ng.servlet   
 

org.apache.struts2.dispatcherHostConfig 的使用
 

参数类型为 HostConfigorg.apache.struts2.dispatcher 中的方法
 void StaticContentLoader.setHostConfig(HostConfig filterConfig)
           
 void DefaultStaticContentLoader.setHostConfig(HostConfig filterConfig)
           
 

org.apache.struts2.dispatcher.ngHostConfig 的使用
 

参数类型为 HostConfigorg.apache.struts2.dispatcher.ng 中的方法
 Dispatcher InitOperations.initDispatcher(HostConfig filterConfig)
          Creates and initializes the dispatcher
 void InitOperations.initLogging(HostConfig filterConfig)
          Initializes the internal Struts logging
 StaticContentLoader InitOperations.initStaticContentLoader(HostConfig filterConfig, Dispatcher dispatcher)
          Initializes the static content loader with the filter configuration
 

org.apache.struts2.dispatcher.ng.filterHostConfig 的使用
 

实现 HostConfigorg.apache.struts2.dispatcher.ng.filter 中的类
 class FilterHostConfig
          Host configuration that wraps FilterConfig
 

org.apache.struts2.dispatcher.ng.listenerHostConfig 的使用
 

实现 HostConfigorg.apache.struts2.dispatcher.ng.listener 中的类
 class ListenerHostConfig
          Host configuration that just holds a ServletContext
 

org.apache.struts2.dispatcher.ng.servletHostConfig 的使用
 

实现 HostConfigorg.apache.struts2.dispatcher.ng.servlet 中的类
 class ServletHostConfig
          Host configuration that wraps a ServletConfig