|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.grails.core.io.DefaultResourceLocator
org.codehaus.groovy.grails.web.pages.discovery.GroovyPageStaticResourceLocator
org.codehaus.groovy.grails.web.pages.discovery.CachingGroovyPageStaticResourceLocator
public class CachingGroovyPageStaticResourceLocator extends GroovyPageStaticResourceLocator
Extends GroovyPageStaticResourceLocator adding caching of the result of GroovyPageStaticResourceLocator.findResourceForURI.
| Field Summary |
|---|
| Method Summary | |
|---|---|
org.springframework.core.io.Resource
|
findResourceForURI(java.lang.String uri)
|
long
|
getCacheTimeout()
|
void
|
setCacheTimeout(long cacheTimeout)
|
| Methods inherited from class GroovyPageStaticResourceLocator | |
|---|---|
| findResourceForURI |
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
| Method Detail |
|---|
@java.lang.Override public org.springframework.core.io.Resource findResourceForURI(java.lang.String uri)
public long getCacheTimeout()
public void setCacheTimeout(long cacheTimeout)
Groovy Documentation