src/main/java/de/qaware/xff/util/uri/UriComponentsBuilder.java
/**
     * Append the given query parameter to the existing query parameters. The
     * given name or any of the values may contain URI template variables. If no
     * values are given, the resulting URI will contain the query parameter name
     * only (i.e. {@code ?foo} instead of {@code ?foo=bar}.
     *
     * @param name   the query parameter name
     * @param values the query parameter values
     * @return this UriComponentsBuilder
     */
Append the given query parameter to the existing query parameters. The
given name or any of the values may contain URI template variables. If no
values are given, the resulting URI will contain the query parameter name
only (i.e.  ?foo instead of  ?foo=bar.

@param name   the query parameter name
@param values the query parameter values
@return this UriComponentsBuilder
Append the given query parameter to the existing query parameters . The given name or any of the values may contain URI template variables . If no values are given the resulting URI will contain the query parameter name only ( i . e . ?foo instead of ?foo = bar . @param name the query parameter name @param values the query parameter values @return this UriComponentsBuilder
public UriComponentsBuilder queryParam(String name, Object... values) {
        Validate.notNull(name, "Name must not be null");
        if (ArrayUtils.isNotEmpty(values)) {
            for (Object value : values) {
                String valueAsString = (value != null ? value.toString() : null);
                this.queryParams.put(name, valueAsString);
            }
        } else {
            this.queryParams.put(name, null);
        }
        resetSchemeSpecificPart();
        return this;
    }
public UriComponentsBuilder queryParam ( String name , Object ... values ) { Validate . notNull ( name , "Name must not be null" ) ; if ( ArrayUtils . isNotEmpty ( values ) ) { for ( Object value : values ) { String valueAsString = ( value != null ? value . toString ( ) : null ) ; this . queryParams . put ( name , valueAsString ) ; } } else { this . queryParams . put ( name , null ) ; } resetSchemeSpecificPart ( ) ; return this ; }
Append the given query parameter to the existing query parameters.
Append the given query parameter to the existing query parameters .