Class WarResourceSet

    • Constructor Detail

      • WarResourceSet

        public WarResourceSet()
        A no argument constructor is required for this to work with the digester.
      • WarResourceSet

        public WarResourceSet​(WebResourceRoot root,
                              java.lang.String webAppMount,
                              java.lang.String base)
                       throws java.lang.IllegalArgumentException
        Creates a new WebResourceSet based on a WAR file.
        root - The WebResourceRoot this new WebResourceSet will be added to.
        webAppMount - The path within the web application at which this WebResourceSet will be mounted.
        base - The absolute path to the WAR file on the file system from which the resources will be served.
        java.lang.IllegalArgumentException - if the webAppMount is not valid (valid paths must start with '/')