Class JarWarResource

  • All Implemented Interfaces:
    WebResource

    public class JarWarResource
    extends AbstractArchiveResource
    Represents a single resource (file or directory) that is located within a JAR that in turn is located in a WAR file.
    • Constructor Detail

      • JarWarResource

        public JarWarResource​(AbstractArchiveResourceSet archiveResourceSet,
                              java.lang.String webAppPath,
                              java.lang.String baseUrl,
                              java.util.jar.JarEntry jarEntry,
                              java.lang.String archivePath)
        Constructs a new JarWarResource.
        Parameters:
        archiveResourceSet - the archive resource set
        webAppPath - the web application path
        baseUrl - the base URL
        jarEntry - the JAR entry
        archivePath - the path to the archive within the WAR