Interface StaticResourceServlet.Resource
- All Known Implementing Classes:
StaticResourceServlet.LocalResource
,VfsResourceProvider.VfsResource
- Enclosing class:
- StaticResourceServlet
public static interface StaticResourceServlet.Resource
resource abstract descriptor implementing API to the content
-
Method Summary
-
Method Details
-
notFound
boolean notFound()- Returns:
- True, if this resource object points to a non-existent resource.
-
getPath
String getPath()- Returns:
- The non-null, fully qualified resource request path.
-
getLastModified
- Returns:
- The last modification timestamp of the resource. is NULL if resource does not exist
- Throws:
IOException
-
getData
Completely reads the resource data from the file system or classpath.- Returns:
- The resource data.
- Throws:
IOException
-