## Uses of Class
org.apache.struts2.dispatcher.mapper.ActionMapping

- Packages that use ActionMapping
  Package | Description
  --- | ---
  com.opensymphony.xwork2 | Main XWork interfaces and classes.
  org.apache.struts2 |
  org.apache.struts2.dispatcher | This package contains a reimagining of the traditional Struts filter dispatchers.
  org.apache.struts2.dispatcher.mapper |

- - ### Uses of ActionMapping in com.opensymphony.xwork2

    Methods in com.opensymphony.xwork2 that return ActionMapping
    Modifier and Type | Method and Description
    --- | ---
    `ActionMapping` | ActionContext.`getActionMapping()` Deprecated.

    Methods in com.opensymphony.xwork2 with parameters of type ActionMapping
    Modifier and Type | Method and Description
    --- | ---
    `ActionContext` | ActionContext.`withActionMapping(ActionMapping actionMapping)` Deprecated.

  - ### Uses of ActionMapping in org.apache.struts2

    Methods in org.apache.struts2 that return ActionMapping
    Modifier and Type | Method and Description
    --- | ---
    `static ActionMapping` | ServletActionContext.`getActionMapping()` Gets the action mapping for this context
    `ActionMapping` | ActionContext.`getActionMapping()` Gets ActionMapping associated with current action

    Methods in org.apache.struts2 with parameters of type ActionMapping
    Modifier and Type | Method and Description
    --- | ---
    `ActionContext` | ActionContext.`withActionMapping(ActionMapping actionMapping)` Assigns ActionMapping to action context

  - ### Uses of ActionMapping in org.apache.struts2.dispatcher

    Methods in org.apache.struts2.dispatcher that return ActionMapping
    Modifier and Type | Method and Description
    --- | ---
    `ActionMapping` | PrepareOperations.`findActionMapping(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Finds and optionally creates an `ActionMapping`.
    `ActionMapping` | PrepareOperations.`findActionMapping(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean forceLookup)` Finds and optionally creates an `ActionMapping`.

    Methods in org.apache.struts2.dispatcher with parameters of type ActionMapping
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | Dispatcher.`createContextMap(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionMapping mapping)` Create a context map containing all the wrapped request objects
    `void` | ExecuteOperations.`executeAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionMapping mapping)` Executes an action
    `void` | Dispatcher.`serviceAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ActionMapping mapping)` Load Action class for mapping and invoke the appropriate Action method, or go directly to the Result.

  - ### Uses of ActionMapping in org.apache.struts2.dispatcher.mapper

    Methods in org.apache.struts2.dispatcher.mapper that return ActionMapping
    Modifier and Type | Method and Description
    --- | ---
    `ActionMapping` | RestfulActionMapper.`getMapping(javax.servlet.http.HttpServletRequest request, ConfigurationManager configManager)`
    `ActionMapping` | PrefixBasedActionMapper.`getMapping(javax.servlet.http.HttpServletRequest request, ConfigurationManager configManager)`
    `ActionMapping` | Restful2ActionMapper.`getMapping(javax.servlet.http.HttpServletRequest request, ConfigurationManager configManager)`
    `ActionMapping` | ActionMapper.`getMapping(javax.servlet.http.HttpServletRequest request, ConfigurationManager configManager)` Expose the ActionMapping for the current request
    `ActionMapping` | DefaultActionMapper.`getMapping(javax.servlet.http.HttpServletRequest request, ConfigurationManager configManager)`
    `ActionMapping` | CompositeActionMapper.`getMapping(javax.servlet.http.HttpServletRequest request, ConfigurationManager configManager)`
    `ActionMapping` | RestfulActionMapper.`getMappingFromActionName(String actionName)`
    `ActionMapping` | ActionMapper.`getMappingFromActionName(String actionName)` Expose the ActionMapping for the specified action name
    `ActionMapping` | DefaultActionMapper.`getMappingFromActionName(String actionName)`
    `ActionMapping` | CompositeActionMapper.`getMappingFromActionName(String actionName)`
    `protected ActionMapping` | DefaultActionMapper.`parseActionName(ActionMapping mapping)`

    Methods in org.apache.struts2.dispatcher.mapper with parameters of type ActionMapping
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | DefaultActionMapper.`dropExtension(String name, ActionMapping mapping)` Drops the extension from the action name, storing it in the mapping for later use
    `void` | ParameterAction.`execute(String key, ActionMapping mapping)`
    `protected void` | DefaultActionMapper.`extractMethodName(ActionMapping mapping, ConfigurationManager configurationManager)` Reads defined method name for a given action from configuration
    `String` | RestfulActionMapper.`getUriFromActionMapping(ActionMapping mapping)`
    `String` | PrefixBasedActionMapper.`getUriFromActionMapping(ActionMapping mapping)`
    `String` | ActionMapper.`getUriFromActionMapping(ActionMapping mapping)` Convert an ActionMapping into a URI string
    `String` | DefaultActionMapper.`getUriFromActionMapping(ActionMapping mapping)`
    `String` | CompositeActionMapper.`getUriFromActionMapping(ActionMapping mapping)`
    `protected void` | DefaultActionMapper.`handleDynamicMethod(ActionMapping mapping, StringBuilder uri)`
    `protected void` | DefaultActionMapper.`handleExtension(ActionMapping mapping, StringBuilder uri)`
    `protected void` | DefaultActionMapper.`handleName(ActionMapping mapping, StringBuilder uri)`
    `protected void` | DefaultActionMapper.`handleNamespace(ActionMapping mapping, StringBuilder uri)`
    `protected void` | DefaultActionMapper.`handleParams(ActionMapping mapping, StringBuilder uri)`
    `void` | DefaultActionMapper.`handleSpecialParameters(javax.servlet.http.HttpServletRequest request, ActionMapping mapping)` Special parameters, as described in the class-level comment, are searched for and handled.
    `protected ActionMapping` | DefaultActionMapper.`parseActionName(ActionMapping mapping)`
    `protected void` | DefaultActionMapper.`parseNameAndNamespace(String uri, ActionMapping mapping, ConfigurationManager configManager)` Parses the name and namespace from the uri

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.