public class GroovyPageStaticResourceLocator extends org.grails.core.io.DefaultResourceLocator
Extends the org.grails.core.io.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 files
Fields inherited from class | Fields |
---|---|
class org.grails.core.io.DefaultResourceLocator |
WILDCARD, FILE_SEPARATOR, CLOSURE_MARKER, WEB_APP_DIR |
Type Params | Return Type | Name and description |
---|---|---|
|
protected AbstractTemplateVariableBinding |
findBindingInOutputContext() |
|
public org.springframework.core.io.Resource |
findResourceForURI(java.lang.String uri) |
Methods inherited from class | Name |
---|---|
class org.grails.core.io.DefaultResourceLocator |
org.grails.core.io.DefaultResourceLocator#setResourceLoader(org.springframework.core.io.ResourceLoader), org.grails.core.io.DefaultResourceLocator#setPluginManager(grails.plugins.GrailsPluginManager), org.grails.core.io.DefaultResourceLocator#setSearchLocation(java.lang.String), org.grails.core.io.DefaultResourceLocator#setSearchLocations(java.util.Collection), org.grails.core.io.DefaultResourceLocator#findResourceForURI(java.lang.String), org.grails.core.io.DefaultResourceLocator#findResourceForClassName(java.lang.String), org.grails.core.io.DefaultResourceLocator#wait(long, int), org.grails.core.io.DefaultResourceLocator#wait(), org.grails.core.io.DefaultResourceLocator#wait(long), org.grails.core.io.DefaultResourceLocator#equals(java.lang.Object), org.grails.core.io.DefaultResourceLocator#toString(), org.grails.core.io.DefaultResourceLocator#hashCode(), org.grails.core.io.DefaultResourceLocator#getClass(), org.grails.core.io.DefaultResourceLocator#notify(), org.grails.core.io.DefaultResourceLocator#notifyAll() |