| Package | Description | 
|---|---|
| com.opensymphony.xwork2 | Main XWork interfaces and classes. | 
| com.opensymphony.xwork2.config | Configuration core classes. | 
| com.opensymphony.xwork2.config.entities | 
Configuration entity classes. | 
| com.opensymphony.xwork2.config.impl | Configuration implementation classes. | 
| com.opensymphony.xwork2.config.providers | Configuration provider classes. | 
| com.opensymphony.xwork2.factory | |
| com.opensymphony.xwork2.mock | XWork specific mock classes. | 
| org.apache.struts2 | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ActionConfig | DefaultActionProxy. config | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionConfig | ActionProxy.LegacyAdapter. getConfig() | 
| ActionConfig | DefaultActionProxy. getConfig() | 
| ActionConfig | UnknownHandlerManager. handleUnknownAction(String namespace,
                   String actionName) | 
| ActionConfig | DefaultUnknownHandlerManager. handleUnknownAction(String namespace,
                   String actionName)Iterate over UnknownHandlers and return the result of the first one that can handle it | 
| ActionConfig | UnknownHandler. handleUnknownAction(String namespace,
                   String actionName)Handles the case when an action configuration is unknown. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | ObjectFactory. buildAction(String actionName,
           String namespace,
           ActionConfig config,
           Map<String,Object> extraContext)Build an instance of the action class to handle a particular request (eg. | 
| Result | UnknownHandlerManager. handleUnknownResult(ActionContext actionContext,
                   String actionName,
                   ActionConfig actionConfig,
                   String resultCode) | 
| Result | DefaultUnknownHandlerManager. handleUnknownResult(ActionContext actionContext,
                   String actionName,
                   ActionConfig actionConfig,
                   String resultCode)Iterate over UnknownHandlers and return the result of the first one that can handle it | 
| Result | UnknownHandler. handleUnknownResult(ActionContext actionContext,
                   String actionName,
                   ActionConfig actionConfig,
                   String resultCode)Handles the case when a result cannot be found for an action and result code. | 
| protected String | DefaultActionInvocation. invokeAction(Object action,
            ActionConfig actionConfig) | 
| protected String | DefaultActionInvocation. saveResult(ActionConfig actionConfig,
          Object methodResult)Save the result to be used later. | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionConfig | RuntimeConfiguration. getActionConfig(String namespace,
               String name)get the fully expanded ActionConfig for a specified namespace and (action) name | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,Map<String,ActionConfig>> | RuntimeConfiguration. getActionConfigs()returns a Map of all the registered ActionConfigs. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ActionConfig | ActionConfig.Builder. target | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,ActionConfig> | PackageConfig. actionConfigs | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionConfig | ActionConfig.Builder. build() | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,ActionConfig> | PackageConfig. getActionConfigs() | 
| Map<String,ActionConfig> | PackageConfig. getAllActionConfigs()returns the Map of all the ActionConfigs available in the current package. | 
| Modifier and Type | Method and Description | 
|---|---|
| PackageConfig.Builder | PackageConfig.Builder. addActionConfig(String name,
               ActionConfig action) | 
| Constructor and Description | 
|---|
| ActionConfig(ActionConfig orig)Clones an ActionConfig, copying data into new maps and lists | 
| Builder(ActionConfig toClone) | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionConfig | ActionConfigMatcher. convert(String path,
       ActionConfig orig,
       Map<String,String> vars) Clones the ActionConfig and its children, replacing various
 properties with the values of the wildcard-matched strings. | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionConfig | ActionConfigMatcher. convert(String path,
       ActionConfig orig,
       Map<String,String> vars) Clones the ActionConfig and its children, replacing various
 properties with the values of the wildcard-matched strings. | 
| Constructor and Description | 
|---|
| ActionConfigMatcher(PatternMatcher<?> patternMatcher,
                   Map<String,ActionConfig> configs,
                   boolean looseMatch) Finds and precompiles the wildcard patterns from the ActionConfig
 "path" attributes. | 
| ActionConfigMatcher(PatternMatcher<?> patternMatcher,
                   Map<String,ActionConfig> configs,
                   boolean looseMatch,
                   boolean appendNamedParameters) Finds and precompiles the wildcard patterns from the ActionConfig
 "path" attributes. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ActionConfig | XmlDocConfigurationProvider. buildActionConfig(Element actionElement,
                 Location location,
                 PackageConfig.Builder packageContext,
                 Map<String,ResultConfig> results) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | DefaultActionFactory. buildAction(String actionName,
           String namespace,
           ActionConfig config,
           Map<String,Object> extraContext) | 
| Object | ActionFactory. buildAction(String actionName,
           String namespace,
           ActionConfig config,
           Map<String,Object> extraContext)Builds action instance | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionConfig | MockActionProxy. getConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MockActionProxy. setConfig(ActionConfig config) | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionConfig | ActionProxy. getConfig()Gets the ActionConfig this ActionProxy is built from. | 
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.