Class VirtualResource

    • Constructor Detail

      • VirtualResource

        public VirtualResource​(WebResourceRoot root,
                               java.lang.String webAppPath,
                               java.lang.String name)
    • Method Detail

      • isVirtual

        public boolean isVirtual()
        Description copied from interface: WebResource
        Indicates if this resource is required for applications to correctly scan the file structure but that does not exist in either the main or any additional WebResourceSet. For example, if an external directory is mapped to /WEB-INF/lib in an otherwise empty web application, /WEB-INF will be represented as a virtual resource.
        Specified by:
        isVirtual in interface WebResource
        isVirtual in class EmptyResource
        true for a virtual resource