|
||||||||||
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,
ServletContext servletContext)
|
|
DefaultUrlMappingInfo(Object controllerName,
Object actionName,
Object viewName,
Map params,
UrlMappingData urlData,
ServletContext servletContext)
|
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 |
boolean |
isParsingRequest()
Returns true of the request body should be parsed. |
protected void |
populateParamsForMapping(GrailsWebRequest webRequest)
Populates request parameters for the given UrlMappingInfo instance using the GrailsWebRequest |
void |
setParsingRequest(boolean parsingRequest)
|
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, ServletContext servletContext)
public DefaultUrlMappingInfo(Object viewName, Map params, UrlMappingData urlData, ServletContext servletContext)
Method Detail |
---|
public String toString()
toString
in class Object
protected void populateParamsForMapping(GrailsWebRequest webRequest)
webRequest
- 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 boolean isParsingRequest()
UrlMappingInfo
isParsingRequest
in interface UrlMappingInfo
public void setParsingRequest(boolean parsingRequest)
public 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 |