public interface ContextResource extends Resource
javax.servlet.ServletContext
but also
from plain classpath paths or relative file system paths (specified
without an explicit prefix, hence applying relative to the local
ResourceLoader
's context).ServletContextResource
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPathWithinContext()
Return the path within the enclosing 'context'.
|
contentLength, createRelative, exists, getDescription, getFile, getFilename, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel
getInputStream