Interface StaticResourceServlet.Resource

    • Method Detail

      • notFound

        boolean notFound()
        Returns:
        True, if this resource object points to a non-existent resource.
      • getPath

        java.lang.String getPath()
        Returns:
        The non-null, fully qualified resource request path.
      • getLastModified

        java.lang.Long getLastModified()
                                throws java.io.IOException
        Returns:
        The last modification timestamp of the resource. is NULL if resource does not exist
        Throws:
        java.io.IOException
      • getData

        byte[] getData()
                throws java.io.IOException
        Completely reads the resource data from the file system or classpath.
        Returns:
        The resource data.
        Throws:
        java.io.IOException