code: String getSuffix(URI uri) {
  
          String fragment = uri.getFragment();
          if (fragment != null) {
              fragment = "#" + fragment;
          } else {
              fragment = "";
          }
  
          String query = uri.getRawQuery();
          if (query != null) {
              query = "?" + query;
          } else {
              query = "";
          }
          return query.concat(fragment);
      }
docs: Gets the suffix (query + fragment) of the URI.<p>
  
  @param uri the URI
  @return the suffix of the URI