public static TomcatServiceBuilder builder(Path docBase) {
        final Path absoluteDocBase = requireNonNull(docBase, "docBase").toAbsolutePath();
        if (TomcatUtil.isZip(absoluteDocBase)) {
            return new TomcatServiceBuilder(absoluteDocBase, "/");
        }

        checkArgument(Files.isDirectory(absoluteDocBase),
                      "docBase: %s (expected: a directory, WAR or JAR)", docBase);

        return new TomcatServiceBuilder(absoluteDocBase, null);
    }
Creates a new {@link TomcatServiceBuilder} with the web application at the specified document base,
which can be a directory or a JAR/WAR file.
tomcat10/src/main/java/com/linecorp/armeria/server/tomcat/TomcatService.java