docs: private String urlEncode(String str) {
          try {
              return URLEncoder.encode(str, LettuceCharsets.UTF8.name()).replaceAll("%2F", "/");
          } catch (UnsupportedEncodingException e) {
              throw new IllegalStateException(e);
          }
      }