public interface RelativePathResource extends Resource, ResourceView.HasMimeType
${catalina.base}/webapps/appName/static/image.png
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath() |
RelativePathResource |
setPath(java.lang.String path) |
getMimeType, setMimeType
RelativePathResource setPath(java.lang.String path)
path
- path to the resource, e.g. "static/image.png"java.lang.String getPath()