public static String encode(String value, Charset charset, boolean allowReservedCharacters) {
    return encodeInternal(value, charset, allowReservedCharacters);
  }
Uri Encode the value. Already encoded values are skipped.

@param value to encode.
@param charset to use.
@return the encoded value.
core/src/main/java/feign/template/UriUtils.java