Class PluginAwareStrutsDispatcher
java.lang.Object
org.apache.struts2.dispatcher.Dispatcher
com.atlassian.bamboo.plugin.xwork.PluginAwareStrutsDispatcher
public class PluginAwareStrutsDispatcher
extends org.apache.struts2.dispatcher.Dispatcher
A Struts dispatcher to hook in the plugin-aware configuration.
Before Bamboo 11.0, this configuration was done in
StrutsSupport via
Dispatcher.setConfigurationManagerFactory(PluginAwareConfigurationManagerFactory.INSTANCE). With Struts 6,
we do it by extending the default Dispatcher.- Since:
- 11.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.struts2.dispatcher.Dispatcher
org.apache.struts2.dispatcher.Dispatcher.Locator -
Field Summary
Fields inherited from class org.apache.struts2.dispatcher.Dispatcher
configurationManager, initParams, MULTIPART_FORM_DATA_REGEX, REQUEST_POST_METHOD, servletContext -
Constructor Summary
ConstructorsConstructorDescriptionPluginAwareStrutsDispatcher(jakarta.servlet.ServletContext servletContext, Map<String, String> initParams) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.struts2.config.ConfigurationManagerMethods inherited from class org.apache.struts2.dispatcher.Dispatcher
addDispatcherListener, cleanup, cleanUpAfterInit, cleanUpRequest, clearInstance, createActionProxy, createContextMap, createContextMap, createJavaConfigurationProvider, createStrutsXmlConfigurationProvider, getActionExcludedPatterns, getActionMapper, getActionProxyFactory, getConfigurationManager, getContainer, getInstance, getInstance, getLocale, getMultiPartRequest, getSaveDir, getStaticContentLoader, getValueStackFactory, init, 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
-
Method Details
-
createConfigurationManager
- Overrides:
createConfigurationManagerin classorg.apache.struts2.dispatcher.Dispatcher
-