public abstract class AbstractUrlMapping extends Object implements UrlMapping
Abstract UrlMapping implementation that provides common basic functionality.
Modifiers | Name | Description |
---|---|---|
protected Object |
actionName |
|
protected ConstrainedProperty[] |
constraints |
|
protected Object |
controllerName |
|
protected Object |
forwardURI |
|
protected GrailsApplication |
grailsApplication |
|
protected String |
httpMethod |
|
protected String |
mappingName |
|
protected Object |
namespace |
|
protected Map |
parameterValues |
|
protected boolean |
parseRequest |
|
protected Integer |
pluginIndex |
|
protected Object |
pluginName |
|
protected Object |
redirectInfo |
|
protected ServletContext |
servletContext |
|
protected String |
version |
|
protected Object |
viewName |
Constructor and description |
---|
AbstractUrlMapping(Object redirectInfo, Object controllerName, Object actionName, Object namespace, Object pluginName, Object viewName, ConstrainedProperty[] constraints, GrailsApplication grailsApplication) Base constructor required to construct a UrlMapping instance |
protected AbstractUrlMapping(Object viewName, ConstrainedProperty[] constraints, GrailsApplication grailsApplication) |
protected AbstractUrlMapping(URI uri, ConstrainedProperty[] constraints, GrailsApplication grailsApplication) |
Type Params | Return Type | Name and description |
---|---|---|
|
public Object |
getActionName()
|
|
public Constrained[] |
getConstraints()
|
|
public Object |
getControllerName()
|
|
public String |
getHttpMethod() |
|
public String |
getMappingName() |
|
public Object |
getNamespace() |
|
public Integer |
getPluginIndex() |
|
public Object |
getPluginName() |
|
public Object |
getRedirectInfo() |
|
public String |
getVersion() |
|
public Object |
getViewName()
|
|
public boolean |
hasRuntimeVariable(String name) |
|
public boolean |
isDefinedInPlugin() |
|
public void |
setMappingName(String name) |
|
public void |
setParameterValues(Map parameterValues) |
|
public void |
setParseRequest(boolean shouldParse) |
|
public void |
setPluginIndex(int pluginIndex) |
Base constructor required to construct a UrlMapping instance
controllerName
- The name of the controlleractionName
- The name of the actionconstraints
- Any constraints that apply to the mappinggrailsApplication
- The GrailsApplication instance