public class InitOperations extends Object
| Constructor and Description | 
|---|
| InitOperations() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Pattern> | buildExcludedPatternsList(Dispatcher dispatcher)Deprecated. 
 since 6.4.0, use  Dispatcher.getActionExcludedPatterns()instead. | 
| void | cleanup() | 
| protected Dispatcher | createDispatcher(HostConfig filterConfig)Create a  Dispatcher | 
| Dispatcher | findDispatcherOnThread() | 
| Dispatcher | initDispatcher(HostConfig filterConfig)Creates and initializes the dispatcher | 
| StaticContentLoader | initStaticContentLoader(HostConfig filterConfig,
                       Dispatcher dispatcher)Initializes the static content loader with the filter configuration | 
public Dispatcher initDispatcher(HostConfig filterConfig)
filterConfig - host configurationpublic StaticContentLoader initStaticContentLoader(HostConfig filterConfig, Dispatcher dispatcher)
filterConfig - host configurationdispatcher - the dispatcherpublic Dispatcher findDispatcherOnThread()
IllegalStateException - If there is no dispatcher availableprotected Dispatcher createDispatcher(HostConfig filterConfig)
DispatcherfilterConfig - host configurationpublic void cleanup()
@Deprecated public List<Pattern> buildExcludedPatternsList(Dispatcher dispatcher)
Dispatcher.getActionExcludedPatterns() instead.dispatcher - The dispatcher to check for exclude pattern configurationStrutsConstants.STRUTS_ACTION_EXCLUDE_PATTERNCopyright © 2000–2025 Apache Software Foundation. All rights reserved.