public static String[] encode(final String[] values) {
    return encode(values, DEFAULT_ENCODING);
  }
Encodes the array of String values using the default encoding, UTF-8. Each String value in the
array is encoded individually and placed back in the array at the exact same index.
<p>

@param values the array of encoded String values to encode.
@return the same String array with each String value encoded using the default encoding of
        UTF-8.
@see #encode(String[], String)
@see java.net.URLEncoder
geode-web/src/main/java/org/apache/geode/management/internal/web/util/UriUtils.java