|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object 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
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 Object
protected void populateParamsForMapping(Map dispatchParams)
dispatchParams
- The Map instanceGrailsWebRequest
public Map getParameters()
UrlMappingInfo
getParameters
in interface UrlMappingInfo
public void configure(GrailsWebRequest webRequest)
UrlMappingInfo
configure
in interface UrlMappingInfo
webRequest
- The GrailsWebRequest instancepublic String getControllerName()
UrlMappingInfo
getControllerName
in interface UrlMappingInfo
public String getActionName()
UrlMappingInfo
getActionName
in interface UrlMappingInfo
public String getViewName()
UrlMappingInfo
getViewName
in interface UrlMappingInfo
public String getId()
UrlMappingInfo
getId
in interface UrlMappingInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |