public Query set(Map<String, String> values) {
            Query query = remove(values.keySet());
            for (Map.Entry<String, String> entry : values.entrySet())
                query = entry.getValue() == null ? query.add(entry.getKey())
                                                 : query.add(entry.getKey(), entry.getValue());

            return query;
        }
Returns a copy of this with all given mappings added to this, possibly replacing existing mappings.
vespajlib/src/main/java/ai/vespa/http/HttpURL.java