public class DefaultGroovyPagesUriService extends GroovyPagesUriSupport
Provides services for resolving URIs. Caches lookups in an internal ConcurrentMap cache.
Modifiers | Name | Description |
---|---|---|
private static class |
DefaultGroovyPagesUriService.ControllerObjectKey |
|
private static class |
DefaultGroovyPagesUriService.TupleStringKey |
Modifiers | Name | Description |
---|---|---|
java.util.concurrent.ConcurrentMap<ControllerObjectKey, java.lang.String> |
controllerNameCache |
|
java.util.concurrent.ConcurrentMap<TupleStringKey, java.lang.String> |
deployedViewURICache |
|
java.util.concurrent.ConcurrentMap<TupleStringKey, java.lang.String> |
noSuffixViewURICache |
|
java.util.concurrent.ConcurrentMap<TupleStringKey, java.lang.String> |
templateURICache |
Fields inherited from class | Fields |
---|---|
class GroovyPagesUriSupport |
BLANK, EXTENSION, PATH_TO_VIEWS, RELATIVE_STRING, SLASH, SLASH_STR, SLASH_UNDR, SUFFIX, UNDERSCORE |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
clear() |
|
public java.lang.String |
getDeployedViewURI(java.lang.String controllerName, java.lang.String viewName) |
|
public java.lang.String |
getLogicalControllerName(groovy.lang.GroovyObject controller) |
|
public java.lang.String |
getNoSuffixViewURI(groovy.lang.GroovyObject controller, java.lang.String viewName) |
|
public java.lang.String |
getNoSuffixViewURI(java.lang.String controllerName, java.lang.String viewName) |
|
public java.lang.String |
getTemplateURI(java.lang.String controllerName, java.lang.String templateName) |
|
public java.lang.String |
getTemplateURI(groovy.lang.GroovyObject controller, java.lang.String templateName) |
Methods inherited from class | Name |
---|---|
class GroovyPagesUriSupport |
clear, getAbsoluteTemplateURI, getAbsoluteViewURI, getAbsoluteViewURIInternal, getDeployedAbsoluteViewURI, getDeployedViewURI, getLogicalControllerName, getNoSuffixViewURI, getNoSuffixViewURI, getRelativeTemplateURIInternal, getRelativeViewURIInternal, getTemplateURI, getTemplateURI, getTemplateURI, getTemplateURI, getViewURI, getViewURI, getViewURIInternal |