public class MockDispatcher extends Dispatcher
Dispatcher.Locator
configurationManager, initParams, MULTIPART_FORM_DATA_REGEX, REQUEST_POST_METHOD, servletContext
Constructor and Description |
---|
MockDispatcher(javax.servlet.ServletContext servletContext,
Map<String,String> context,
ConfigurationManager configurationManager) |
Modifier and Type | Method and Description |
---|---|
void |
init()
Load configurations, including both XML and zero-configuration strategies,
and update optional settings, including whether to reload configurations and resource files.
|
addDispatcherListener, cleanup, cleanUpAfterInit, cleanUpRequest, createConfigurationManager, createContextMap, createContextMap, createJavaConfigurationProvider, createStrutsXmlConfigurationProvider, getConfigurationManager, getContainer, getInstance, getLocale, getMultiPartRequest, getSaveDir, isDevMode, isHandleException, isMultipartRequest, isMultipartSupportEnabled, logConfigurationException, prepare, removeDispatcherListener, sendError, serviceAction, setDefaultEncoding, setDefaultLocale, setDevMode, setDisableRequestAttributeValueStackLookup, setDispatcherErrorHandler, setHandleException, setInstance, setMultipartHandler, setMultipartSaveDir, setMultipartSupportEnabled, setMultipartValidationRegex, setValueStackFactory, wrapRequest
public MockDispatcher(javax.servlet.ServletContext servletContext, Map<String,String> context, ConfigurationManager configurationManager)
public void init()
Dispatcher
init
in class Dispatcher
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.