@CompileStatic class GrailsResource extends Object implements Resource
Bridges Grails and Spring resource APIs
Constructor and description |
---|
GrailsResource(Resource resource) |
Type Params | Return Type | Name and description |
---|---|---|
|
long |
contentLength() |
|
Resource |
createRelative(String relativePath) |
|
boolean |
exists() |
|
String |
getDescription() |
|
File |
getFile() |
|
String |
getFilename() |
|
InputStream |
getInputStream() |
|
URI |
getURI() |
|
URL |
getURL() |
|
boolean |
isOpen() |
|
boolean |
isReadable() |
|
long |
lastModified() |