org.apache.struts2.dispatcher.mapper
public class: ActionMapping [javadoc |
source]
java.lang.Object
org.apache.struts2.dispatcher.mapper.ActionMapping
Simple class that holds the action mapping information used to invoke a
Struts action. The name and namespace are required, but the params map
is optional, and as such may be null. If a params map is supplied,
it
must be a mutable map, such as a HashMap.
| Constructor: |
public ActionMapping() {
}
Constructs an ActionMapping |
public ActionMapping(Result result) {
this.result = result;
}
Constructs an ActionMapping with a default result Parameters:
result - The default result
|
public ActionMapping(String name,
String namespace,
String method,
Map params) {
this.name = name;
this.namespace = namespace;
this.method = method;
this.params = params;
}
Constructs an ActionMapping with its values Parameters:
name - The action name
namespace - The action namespace
method - The method
params - The extra parameters
|