code: public static String encode(String value) {
      return encodeReserved(value, FragmentType.URI, Util.UTF_8);
    }
docs: Uri Encode the value, using the default Charset. Already encoded values are skipped.
  
  @param value to encode.
  @return the encoded value.