code: public static String getRequestLink(String url) {
  
          if (CmsStringUtil.isEmpty(url)) {
              return null;
          }
          int pos = url.indexOf(URL_DELIMITER);
          if (pos >= 0) {
              return url.substring(0, pos);
          }
          return url;
  
      }
docs: Returns the link without parameters from a String that is formatted for a GET request.<p>
  
  @param url the URL to remove the parameters from
  @return the URL without any parameters