public class CachingGroovyPageStaticResourceLocator extends GroovyPageStaticResourceLocator
GroovyPageStaticResourceLocator adding caching of the result
of GroovyPageStaticResourceLocator.findResourceForURI(String).classNameToResourceCache, classSearchDirectories, CLOSURE_MARKER, defaultResourceLoader, FILE_SEPARATOR, NULL_RESOURCE, patchMatchingResolver, pluginManager, resourceSearchDirectories, uriToResourceCache, warDeployed, WEB_APP_DIR, WILDCARD| Constructor and Description |
|---|
CachingGroovyPageStaticResourceLocator() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
findResourceForURI(java.lang.String uri) |
long |
getCacheTimeout() |
void |
setCacheTimeout(long cacheTimeout) |
public CachingGroovyPageStaticResourceLocator()
public org.springframework.core.io.Resource findResourceForURI(java.lang.String uri)
findResourceForURI in interface org.codehaus.groovy.grails.core.io.ResourceLocatorfindResourceForURI in class GroovyPageStaticResourceLocatorpublic long getCacheTimeout()
public void setCacheTimeout(long cacheTimeout)