| java.lang.Object org.apache.struts2.dispatcher.mapper.ActionMapping
ActionMapping | public class ActionMapping (Code) | | 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.
|
ActionMapping | public ActionMapping()(Code) | | Constructs an ActionMapping
|
ActionMapping | public ActionMapping(Result result)(Code) | | Constructs an ActionMapping with a default result
Parameters: result - The default result |
ActionMapping | public ActionMapping(String name, String namespace, String method, Map params)(Code) | | Constructs an ActionMapping with its values
Parameters: name - The action name Parameters: namespace - The action namespace Parameters: method - The method Parameters: params - The extra parameters |
getNamespace | public String getNamespace()(Code) | | The action namespace |
getParams | public Map getParams()(Code) | | The extra parameters |
getResult | public Result getResult()(Code) | | The default result |
setMethod | public void setMethod(String method)(Code) | | Parameters: method - The method name to call on the action |
setName | public void setName(String name)(Code) | | Parameters: name - The action name |
setNamespace | public void setNamespace(String namespace)(Code) | | Parameters: namespace - The action namespace |
setParams | public void setParams(Map params)(Code) | | Parameters: params - The extra parameters for this mapping |
setResult | public void setResult(Result result)(Code) | | Parameters: result - The result |
|
|