Package org.apache.struts2.dispatcher
Class MockDispatcher
java.lang.Object
org.apache.struts2.dispatcher.Dispatcher
org.apache.struts2.dispatcher.MockDispatcher
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.struts2.dispatcher.DispatcherDispatcher.Locator
- 
Field SummaryFields inherited from class org.apache.struts2.dispatcher.DispatcherconfigurationManager, initParams, MULTIPART_FORM_DATA_REGEX, REQUEST_POST_METHOD, servletContext
- 
Constructor SummaryConstructorsConstructorDescriptionMockDispatcher(jakarta.servlet.ServletContext servletContext, Map<String, String> context, ConfigurationManager configurationManager) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidinit()Load configurations, including both XML and zero-configuration strategies, and update optional settings, including whether to reload configurations and resource files.Methods inherited from class org.apache.struts2.dispatcher.DispatcheraddDispatcherListener, cleanup, cleanUpAfterInit, cleanUpRequest, clearInstance, createActionProxy, createConfigurationManager, createContextMap, createContextMap, createJavaConfigurationProvider, createStrutsXmlConfigurationProvider, getActionExcludedPatterns, getActionMapper, getActionProxyFactory, getConfigurationManager, getContainer, getInstance, getInstance, getLocale, getMultiPartRequest, getSaveDir, getStaticContentLoader, getValueStackFactory, isDevMode, isHandleException, isMultipartRequest, isMultipartSupportEnabled, isSameAction, logConfigurationException, prepare, prepareActionProxy, removeDispatcherListener, sendError, serviceAction, setActionExcludedPatterns, setActionExcludedPatternsSeparator, setActionMapper, setActionProxyFactory, setDefaultEncoding, setDefaultLocale, setDevMode, setDisableRequestAttributeValueStackLookup, setDispatcherErrorHandler, setDispatchersParametersWorkaround, setHandleException, setInstance, setLocaleProviderFactory, setMultipartSaveDir, setMultipartSupportEnabled, setMultipartValidationRegex, setObjectFactory, setStaticContentLoader, setThreadAllowlist, setValueStackFactory, wrapRequest
- 
Constructor Details- 
MockDispatcherpublic MockDispatcher(jakarta.servlet.ServletContext servletContext, Map<String, String> context, ConfigurationManager configurationManager) 
 
- 
- 
Method Details- 
initpublic void init()Description copied from class:DispatcherLoad configurations, including both XML and zero-configuration strategies, and update optional settings, including whether to reload configurations and resource files.- Overrides:
- initin class- Dispatcher
 
 
-