|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 |
mappingName
|
protected java.util.Map |
parameterValues
|
protected boolean |
parseRequest
|
protected boolean |
restful
|
protected javax.servlet.ServletContext |
servletContext
|
protected java.lang.Object |
viewName
|
Constructor Summary | |
AbstractUrlMapping(java.lang.Object controllerName, java.lang.Object actionName, 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
|
getMappingName()
|
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 mappingName
@SuppressWarnings("rawtypes") protected java.util.Map parameterValues
protected boolean parseRequest
protected boolean restful
protected javax.servlet.ServletContext servletContext
protected java.lang.Object viewName
Constructor Detail |
---|
public AbstractUrlMapping(java.lang.Object controllerName, java.lang.Object actionName, 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()
public java.lang.String getMappingName()
public java.lang.Object getViewName()
public boolean hasRuntimeVariable(java.lang.String name)
public boolean isRestfulMapping()
public void setMappingName(java.lang.String name)
@SuppressWarnings({"unchecked","rawtypes"}) public void setParameterValues(java.util.Map parameterValues)
public void setParseRequest(boolean shouldParse)
public void setRestfulMapping(boolean isREST)
Groovy Documentation