docs: protected String urlEncode(String s) throws GitLabApiException {
          try {
              String encoded = URLEncoder.encode(s, "UTF-8");
              // Since the encode method encodes plus signs as %2B,
              // we can simply replace the encoded spaces with the correct encoding here 
              encoded = encoded.replace("+", "%20");
              encoded = encoded.replace(".", "%2E");
              encoded = encoded.replace("-", "%2D");
              encoded = encoded.replace("_", "%5F");
              return (encoded);
          } catch (Exception e) {
              throw new GitLabApiException(e);
          }
      }