public class ActionMapping extends Object
| Constructor and Description | 
|---|
ActionMapping()
Constructs an ActionMapping 
 | 
ActionMapping(Result result)
Constructs an ActionMapping with a default result 
 | 
ActionMapping(String name,
             String namespace,
             String method,
             Map<String,Object> params)
Constructs an ActionMapping with its values 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getExtension()  | 
String | 
getMethod()  | 
String | 
getName()  | 
String | 
getNamespace()  | 
Map<String,Object> | 
getParams()  | 
Result | 
getResult()  | 
void | 
setExtension(String extension)  | 
void | 
setMethod(String method)  | 
void | 
setName(String name)  | 
void | 
setNamespace(String namespace)  | 
void | 
setParams(Map<String,Object> params)  | 
void | 
setResult(Result result)  | 
String | 
toString()  | 
public ActionMapping()
public ActionMapping(Result result)
result - The default resultpublic String getName()
public String getNamespace()
public String getMethod()
public Result getResult()
public String getExtension()
public void setResult(Result result)
result - The resultpublic void setName(String name)
name - The action namepublic void setNamespace(String namespace)
namespace - The action namespacepublic void setMethod(String method)
method - The method name to call on the actionpublic void setParams(Map<String,Object> params)
params - The extra parameters for this mappingpublic void setExtension(String extension)
extension - The extension used in the requestCopyright © 2000–2020 Apache Software Foundation. All rights reserved.