public class GroovyPageResourceScriptSource extends ResourceScriptSource implements GroovyPageScriptSource
| Constructor and description |
|---|
GroovyPageResourceScriptSource(java.lang.String uri, Resource resource)Create a new ResourceScriptSource for the given resource. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.lang.String |
getURI() |
|
public boolean |
isPublic()Whether the GSP is publicly accessible directly, or only usable using internal rendering |
|
public static boolean |
isPublicPath(java.lang.String path) |
| Methods inherited from class | Name |
|---|---|
class ResourceScriptSource |
equals, getClass, getResource, getScriptAsString, hashCode, isModified, notify, notifyAll, setEncoding, suggestedClassName, toString, wait, wait, wait |
Create a new ResourceScriptSource for the given resource.
uri - The URI of the resourceresource - the Resource to load the script from