code: public static String queryParamEncode(String queryParam, Charset charset) {
      return encodeReserved(queryParam, FragmentType.QUERY_PARAM, charset);
    }
docs: Uri Encode a Query Parameter name or value.
  
  @param queryParam containing the query parameter.
  @param charset to use.
  @return the encoded query fragment.