|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.grails.web.mapping.AbstractUrlMappingInfo
org.codehaus.groovy.grails.web.mapping.DefaultUrlMappingInfo
public class DefaultUrlMappingInfo
A Class that implements the UrlMappingInfo interface and holds information established from a matched URL
| Field Summary |
|---|
| Fields inherited from class org.codehaus.groovy.grails.web.mapping.AbstractUrlMappingInfo |
|---|
params |
| Constructor Summary | |
|---|---|
DefaultUrlMappingInfo(Object viewName,
Map params,
UrlMappingData urlData,
ServletContext servletContext)
|
|
DefaultUrlMappingInfo(Object controllerName,
Object actionName,
Object viewName,
Map params,
UrlMappingData urlData,
ServletContext servletContext)
|
|
DefaultUrlMappingInfo(Object uri,
UrlMappingData data,
ServletContext servletContext)
|
|
| Method Summary | |
|---|---|
String |
getActionName()
The name of the action that the URL mappping maps to |
String |
getControllerName()
The name of the controller that the URL mapping maps to |
String |
getId()
The id part of the URL mapping if any |
Map |
getParameters()
The parameters that were extracted from the URI that was matched |
String |
getURI()
The URI to map to. |
String |
getViewName()
The name of the view that the URL mappping maps to |
boolean |
isParsingRequest()
Returns true of the request body should be parsed. |
void |
setParsingRequest(boolean parsingRequest)
|
String |
toString()
|
| Methods inherited from class org.codehaus.groovy.grails.web.mapping.AbstractUrlMappingInfo |
|---|
configure, evaluateNameForValue, evaluateNameForValue, populateParamsForMapping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.codehaus.groovy.grails.web.mapping.UrlMappingInfo |
|---|
configure |
| Constructor Detail |
|---|
public DefaultUrlMappingInfo(Object controllerName,
Object actionName,
Object viewName,
Map params,
UrlMappingData urlData,
ServletContext servletContext)
public DefaultUrlMappingInfo(Object viewName,
Map params,
UrlMappingData urlData,
ServletContext servletContext)
public DefaultUrlMappingInfo(Object uri,
UrlMappingData data,
ServletContext servletContext)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic Map getParameters()
UrlMappingInfo
getParameters in interface UrlMappingInfopublic boolean isParsingRequest()
UrlMappingInfo
isParsingRequest in interface UrlMappingInfopublic void setParsingRequest(boolean parsingRequest)
public String getControllerName()
UrlMappingInfo
getControllerName in interface UrlMappingInfopublic String getActionName()
UrlMappingInfo
getActionName in interface UrlMappingInfopublic String getViewName()
UrlMappingInfo
getViewName in interface UrlMappingInfopublic String getId()
UrlMappingInfo
getId in interface UrlMappingInfopublic String getURI()
UrlMappingInfo
getURI in interface UrlMappingInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||