public class RestfulActionMapper extends Object implements ActionMapper
Modifier and Type | Field and Description |
---|---|
protected static org.apache.logging.log4j.Logger |
LOG |
Constructor and Description |
---|
RestfulActionMapper() |
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
|
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.