|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.grails.web.pages.GroovyPagesUriSupport
org.codehaus.groovy.grails.web.pages.DefaultGroovyPagesUriService
public class DefaultGroovyPagesUriService
Provides services for resolving URIs. Caches lookups in an internal ConcurrentMap cache.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.groovy.grails.web.pages.GroovyPagesUriSupport |
|---|
PATH_TO_VIEWS |
| Fields inherited from interface org.codehaus.groovy.grails.web.pages.GroovyPagesUriService |
|---|
BEAN_ID |
| Constructor Summary | |
|---|---|
DefaultGroovyPagesUriService()
|
|
| Method Summary | |
|---|---|
void |
clear()
|
java.lang.String |
getDeployedViewURI(java.lang.String controllerName,
java.lang.String viewName)
Obtains a view URI when deployed within the /WEB-INF/grails-app/views context |
java.lang.String |
getLogicalControllerName(groovy.lang.GroovyObject controller)
|
java.lang.String |
getNoSuffixViewURI(groovy.lang.GroovyObject controller,
java.lang.String viewName)
Obtains a view URI of the given controller and view name without the suffix |
java.lang.String |
getNoSuffixViewURI(java.lang.String controllerName,
java.lang.String viewName)
Obtains a view URI of the given controller name and view name without the suffix |
java.lang.String |
getTemplateURI(groovy.lang.GroovyObject controller,
java.lang.String templateName)
Obtains a template URI for the given controller instance and template name |
java.lang.String |
getTemplateURI(java.lang.String controllerName,
java.lang.String templateName)
Obtains the URI to a template using the controller name and template name |
| Methods inherited from class org.codehaus.groovy.grails.web.pages.GroovyPagesUriSupport |
|---|
getAbsoluteTemplateURI, getAbsoluteViewURI, getDeployedAbsoluteViewURI, getViewURI, getViewURI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultGroovyPagesUriService()
| Method Detail |
|---|
public java.lang.String getTemplateURI(java.lang.String controllerName,
java.lang.String templateName)
GroovyPagesUriSupport
getTemplateURI in interface GroovyPagesUriServicegetTemplateURI in class GroovyPagesUriSupportcontrollerName - The controller nametemplateName - The template name
public java.lang.String getDeployedViewURI(java.lang.String controllerName,
java.lang.String viewName)
GroovyPagesUriSupport
getDeployedViewURI in interface GroovyPagesUriServicegetDeployedViewURI in class GroovyPagesUriSupportcontrollerName - The name of the controllerviewName - The name of the view
public java.lang.String getLogicalControllerName(groovy.lang.GroovyObject controller)
getLogicalControllerName in class GroovyPagesUriSupport
public java.lang.String getNoSuffixViewURI(groovy.lang.GroovyObject controller,
java.lang.String viewName)
GroovyPagesUriSupport
getNoSuffixViewURI in interface GroovyPagesUriServicegetNoSuffixViewURI in class GroovyPagesUriSupportcontroller - The name of the controllerviewName - The name of the view
public java.lang.String getNoSuffixViewURI(java.lang.String controllerName,
java.lang.String viewName)
GroovyPagesUriSupport
getNoSuffixViewURI in interface GroovyPagesUriServicegetNoSuffixViewURI in class GroovyPagesUriSupportcontrollerName - The name of the controllerviewName - The name of the view
public java.lang.String getTemplateURI(groovy.lang.GroovyObject controller,
java.lang.String templateName)
GroovyPagesUriSupport
getTemplateURI in interface GroovyPagesUriServicegetTemplateURI in class GroovyPagesUriSupportcontroller - The controller instancetemplateName - The template name
public void clear()
clear in interface GroovyPagesUriServiceclear in class GroovyPagesUriSupport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||