docs: public static boolean checkUri(String uri) {
          QueryStringDecoder queryStringDecoder = new QueryStringDecoder(uri, true);
          String path = queryStringDecoder.path();
          int groupIndex = path.indexOf('/') + 1,
                  unitIndex = path.indexOf('/', groupIndex) + 1;
          if (groupIndex == 0 || unitIndex == 0) {
              LOG.warn("URI is illegal: " + uri);
              return false;
          }
          return true;
      }