code: public String getRestUrl(String urlKey) throws UnsupportedEncodingException {
          return getRestUrl(urlKey, true, null, null);
      }
docs: Gets REST url.
  
  @param urlKey Url key.
  @return Final REST url.
  @throws UnsupportedEncodingException