public static String encode(final String value) {
    return encode(value, DEFAULT_ENCODING);
  }
Encode the specified String value using the default encoding, UTF-8.
<p>

@param value the String value to encode.
@return an encoded value of the String using the default encoding, UTF-8. If UTF-8 is
        unsupported, then value is returned.
@see #encode(String, String)
@see java.net.URLEncoder
geode-web/src/main/java/org/apache/geode/management/internal/web/util/UriUtils.java