@groovy.transform.CompileStatic class GenericViewUriResolver extends java.lang.Object implements ViewUriResolver
Generic implementation for resolving views
Modifiers | Name | Description |
---|---|---|
private static java.lang.String |
BLANK |
|
private static char |
SLASH |
|
private static java.lang.String |
SLASH_STR |
|
private static java.lang.String |
SLASH_UNDR |
|
private static char |
UNDERSCORE |
|
private java.lang.String |
extension |
Type | Name and description |
---|---|
java.lang.String |
extension |
Constructor and description |
---|
GenericViewUriResolver
(java.lang.String extension) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.String |
getAbsoluteTemplateURI(java.lang.String templateName, boolean includeExtension) Used to resolve template names that are not relative to a controller. |
|
java.lang.String |
resolveTemplateUri(java.lang.String controllerName, java.lang.String templateName, boolean includeExtension) |
|
java.lang.String |
resolveTemplateUri(java.lang.String controllerNamespace, java.lang.String controllerName, java.lang.String templateName, boolean includeExtension) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Used to resolve template names that are not relative to a controller.
templateName
- The template name normally beginning with /Groovy Documentation