public UriBuilder withTrailingSlash() {
        if (toString().endsWith("/")) return this;
        return new UriBuilder(toString() + "/");
    }
Returns a uri with the given path appended and all parameters removed
container-core/src/main/java/com/yahoo/restapi/UriBuilder.java