@Override
        public int hashCode() {
            return Objects.hash(segments(), trailingSlash);
        }
Intentionally not usable for constructing new URIs. Use {@link HttpURL} for that instead.
vespajlib/src/main/java/ai/vespa/http/HttpURL.java