src/main/java/de/qaware/xff/util/uri/UriComponentsBuilder.java
/**
     * Set the query of this builder overriding all existing query parameters.
     *
     * @param query the query string; a {@code null} value removes all query parameters.
     * @return this UriComponentsBuilder
     */
Set the query of this builder overriding all existing query parameters.
@param query the query string; a  null value removes all query parameters.
Set the query of this builder overriding all existing query parameters . @param query the query string ; a null value removes all query parameters .
public UriComponentsBuilder replaceQuery(/*@Nullable*/ String query) {
        this.queryParams.clear();
        if (query != null) {
            query(query);
        }
        resetSchemeSpecificPart();
        return this;
    }
public UriComponentsBuilder replaceQuery ( /*@Nullable*/ String query ) { this . queryParams . clear ( ) ; if ( query != null ) { query ( query ) ; } resetSchemeSpecificPart ( ) ; return this ; }
Set the query of this builder overriding all existing query parameters.
Set the query of this builder overriding all existing query parameters .