public class GroovyPageResourceScriptSource extends org.springframework.scripting.support.ResourceScriptSource implements GroovyPageScriptSource
| Constructor and Description |
|---|
GroovyPageResourceScriptSource(java.lang.String uri,
org.springframework.core.io.Resource resource)
Create a new ResourceScriptSource for the given resource.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getURI() |
boolean |
isPublic()
Whether the GSP is publicly accessible directly, or only usable using internal rendering
|
static boolean |
isPublicPath(java.lang.String path) |
getResource, getScriptAsString, isModified, retrieveLastModifiedTime, setEncoding, suggestedClassName, toStringpublic GroovyPageResourceScriptSource(java.lang.String uri,
org.springframework.core.io.Resource resource)
uri - The URI of the resourceresource - the Resource to load the script frompublic static boolean isPublicPath(java.lang.String path)
public java.lang.String getURI()
getURI in interface GroovyPageScriptSourcepublic boolean isPublic()
isPublic in interface GroovyPageScriptSource