|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.grails.web.mapping.AbstractUrlMapping
public abstract class AbstractUrlMapping extends java.lang.Object
Abstract UrlMapping implementation that provides common basic functionality.
| Field Summary | |
|---|---|
protected java.lang.Object |
actionName
|
protected ConstrainedProperty[] |
constraints
|
protected java.lang.Object |
controllerName
|
protected java.lang.Object |
forwardURI
|
protected java.lang.String |
httpMethod
|
protected java.lang.String |
mappingName
|
protected java.lang.Object |
namespace
|
protected java.util.Map |
parameterValues
|
protected boolean |
parseRequest
|
protected java.lang.Object |
pluginName
|
protected java.lang.Object |
redirectInfo
|
protected boolean |
restful
|
protected javax.servlet.ServletContext |
servletContext
|
protected java.lang.String |
version
|
protected java.lang.Object |
viewName
|
| Constructor Summary | |
AbstractUrlMapping(java.lang.Object redirectInfo, java.lang.Object controllerName, java.lang.Object actionName, java.lang.Object namespace, java.lang.Object pluginName, java.lang.Object viewName, ConstrainedProperty[] constraints, javax.servlet.ServletContext servletContext)
Base constructor required to construct a UrlMapping instance |
|
protected AbstractUrlMapping(java.lang.Object viewName, ConstrainedProperty[] constraints, javax.servlet.ServletContext servletContext)
|
|
protected AbstractUrlMapping(java.net.URI uri, ConstrainedProperty[] constraints, javax.servlet.ServletContext servletContext)
|
|
| Method Summary | |
|---|---|
java.lang.Object
|
getActionName()
@see org.codehaus.groovy.grails.web.mapping.UrlMapping#getActionName() |
ConstrainedProperty[]
|
getConstraints()
@see UrlMapping#getConstraints() |
java.lang.Object
|
getControllerName()
@see UrlMapping#getControllerName() |
java.lang.String
|
getHttpMethod()
|
java.lang.String
|
getMappingName()
|
java.lang.Object
|
getNamespace()
|
java.lang.Object
|
getPluginName()
|
java.lang.Object
|
getRedirectInfo()
|
java.lang.String
|
getVersion()
|
java.lang.Object
|
getViewName()
@see org.codehaus.groovy.grails.web.mapping.UrlMapping#getViewName() |
boolean
|
hasRuntimeVariable(java.lang.String name)
|
boolean
|
isRestfulMapping()
|
void
|
setMappingName(java.lang.String name)
|
void
|
setParameterValues(java.util.Map parameterValues)
|
void
|
setParseRequest(boolean shouldParse)
|
void
|
setRestfulMapping(boolean isREST)
|
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Field Detail |
|---|
protected java.lang.Object actionName
protected final ConstrainedProperty[] constraints
protected java.lang.Object controllerName
protected java.lang.Object forwardURI
protected java.lang.String httpMethod
protected java.lang.String mappingName
protected java.lang.Object namespace
@java.lang.SuppressWarnings("rawtypes")
protected java.util.Map parameterValues
protected boolean parseRequest
protected java.lang.Object pluginName
protected java.lang.Object redirectInfo
protected boolean restful
protected javax.servlet.ServletContext servletContext
protected java.lang.String version
protected java.lang.Object viewName
| Constructor Detail |
|---|
public AbstractUrlMapping(java.lang.Object redirectInfo, java.lang.Object controllerName, java.lang.Object actionName, java.lang.Object namespace, java.lang.Object pluginName, java.lang.Object viewName, ConstrainedProperty[] constraints, javax.servlet.ServletContext servletContext)
controllerName - The name of the controlleractionName - The name of the actionconstraints - Any constraints that apply to the mapping
protected AbstractUrlMapping(java.lang.Object viewName, ConstrainedProperty[] constraints, javax.servlet.ServletContext servletContext)
protected AbstractUrlMapping(java.net.URI uri, ConstrainedProperty[] constraints, javax.servlet.ServletContext servletContext)
| Method Detail |
|---|
public java.lang.Object getActionName()
public ConstrainedProperty[] getConstraints()
public java.lang.Object getControllerName()
@java.lang.Override public java.lang.String getHttpMethod()
public java.lang.String getMappingName()
public java.lang.Object getNamespace()
public java.lang.Object getPluginName()
public java.lang.Object getRedirectInfo()
@java.lang.Override public java.lang.String getVersion()
public java.lang.Object getViewName()
public boolean hasRuntimeVariable(java.lang.String name)
public boolean isRestfulMapping()
public void setMappingName(java.lang.String name)
@java.lang.SuppressWarnings({"unchecked","rawtypes"})
public void setParameterValues(java.util.Map parameterValues)
public void setParseRequest(boolean shouldParse)
public void setRestfulMapping(boolean isREST)
Groovy Documentation