|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.grails.web.mapping.DefaultUrlMappingInfo
public class DefaultUrlMappingInfo
A Class that implements the UrlMappingInfo interface and holds information established from a matched URL
| Constructor Summary | |
|---|---|
DefaultUrlMappingInfo(Object controllerName,
Object actionName,
Map params,
UrlMappingData urlData)
|
|
| 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 |
protected void |
populateParamsForMapping(Map dispatchParams)
Populates request parameters for the given UrlMappingInfo instance using the GrailsWebRequest |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultUrlMappingInfo(Object controllerName,
Object actionName,
Map params,
UrlMappingData urlData)
| Method Detail |
|---|
public String toString()
toString in class Objectprotected void populateParamsForMapping(Map dispatchParams)
dispatchParams - The Map instanceGrailsWebRequestpublic Map getParameters()
UrlMappingInfo
getParameters in interface UrlMappingInfopublic String getControllerName()
UrlMappingInfo
getControllerName in interface UrlMappingInfopublic String getActionName()
UrlMappingInfo
getActionName in interface UrlMappingInfopublic String getId()
UrlMappingInfo
getId in interface UrlMappingInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||