public class GroovyPageStaticResourceLocator
extends org.codehaus.groovy.grails.core.io.DefaultResourceLocator
DefaultResourceLocator class with extra methods to evaluate static resources relative to the currently executing GSP page.
This class is used to resolve references to static resources like CSS, Javascript and images filesclassNameToResourceCache, classSearchDirectories, CLOSURE_MARKER, defaultResourceLoader, FILE_SEPARATOR, NULL_RESOURCE, patchMatchingResolver, pluginManager, resourceSearchDirectories, uriToResourceCache, warDeployed, WEB_APP_DIR, WILDCARD| Constructor and Description |
|---|
GroovyPageStaticResourceLocator() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
findResourceForURI(java.lang.String uri) |
public org.springframework.core.io.Resource findResourceForURI(java.lang.String uri)
findResourceForURI in interface org.codehaus.groovy.grails.core.io.ResourceLocatorfindResourceForURI in class org.codehaus.groovy.grails.core.io.DefaultResourceLocator