static String buildPath(final String... parts) {
        Objects.requireNonNull(parts);
        return String
                .join("/", parts)
                .replace("//", "/");
    }
@param parts The path or parts of a path to append onto the base path.
@return The full path to the authenticated resource, e.g. /api/node
stroom-util-shared/src/main/java/stroom/util/shared/ResourcePaths.java