|
||||||||||
| 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 viewName,
Map params,
UrlMappingData urlData)
|
|
DefaultUrlMappingInfo(Object controllerName,
Object actionName,
Object viewName,
Map params,
UrlMappingData urlData)
|
|
| Method Summary | |
|---|---|
void |
configure(GrailsWebRequest webRequest)
Configure this UrlMappingInfo the for the given GrailsWebRequest |
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 |
getViewName()
The name of the view that the URL mappping maps to |
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,
Object viewName,
Map params,
UrlMappingData urlData)
public DefaultUrlMappingInfo(Object viewName,
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 void configure(GrailsWebRequest webRequest)
UrlMappingInfo
configure in interface UrlMappingInfowebRequest - The GrailsWebRequest instancepublic 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 UrlMappingInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||