public class CompositeActionMapper extends Object implements ActionMapper
ActionMapper
if the former
failed to obtained a valid ActionMapping
or uri.
More details: http://struts.apache.org/docs/actionmapper.htmlActionMapper
,
ActionMapping
Modifier and Type | Field and Description |
---|---|
protected List<ActionMapper> |
actionMappers |
Constructor and Description |
---|
CompositeActionMapper(Container container,
String list) |
Modifier and Type | Method and Description |
---|---|
ActionMapping |
getMapping(javax.servlet.http.HttpServletRequest request,
ConfigurationManager configManager)
Expose the ActionMapping for the current request
|
ActionMapping |
getMappingFromActionName(String actionName)
Expose the ActionMapping for the specified action name
|
String |
getUriFromActionMapping(ActionMapping mapping)
Convert an ActionMapping into a URI string
|
protected List<ActionMapper> actionMappers
public ActionMapping getMapping(javax.servlet.http.HttpServletRequest request, ConfigurationManager configManager)
ActionMapper
getMapping
in interface ActionMapper
request
- The servlet requestconfigManager
- The current configuration managerpublic ActionMapping getMappingFromActionName(String actionName)
ActionMapper
getMappingFromActionName
in interface ActionMapper
actionName
- The name of the action that may have other information embedded in itpublic String getUriFromActionMapping(ActionMapping mapping)
ActionMapper
getUriFromActionMapping
in interface ActionMapper
mapping
- The action mappingCopyright © 2000–2020 Apache Software Foundation. All rights reserved.