Build a URI. Any URI template parameters will be replaced by the value in the supplied map. Values are converted to {@code String} usingtheir {@code toString()} method and are then encoded to match therules of the URI component to which they pertain. All % characters in the stringified values that are not followed by two hexadecimal numbers will be encoded. The state of the builder is unaffected; this method may be called multiple times on the same builder instance.
@param values a map of URI template parameter names and values.
@return the URI built from the UriBuilder.
@throws IllegalArgumentException if there are any URI template parameterswithout a supplied value, or if a template parameter value is {@code null}.
@throws UriBuilderException if a URI cannot be constructed based on thecurrent state of the builder.
@see #buildFromMap(java.util.Map)
@see #buildFromMap(java.util.Map,boolean)
@since 2.0
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.