public static DmnRestUrlBuilder usingBaseUrl(String baseUrl){
  if (baseUrl == null)   throw new ActivitiDmnIllegalArgumentException("baseUrl can not be null");
  if (baseUrl.endsWith("/"))   baseUrl=baseUrl.substring(0,baseUrl.length() - 1);
  return new DmnRestUrlBuilder(baseUrl);
}

public static DmnRestUrlBuilder usingBaseUrl ( String baseUrl ) { if ( baseUrl == null ) throw new ActivitiDmnIllegalArgumentException ( "baseUrl can not be null" ) ; if ( baseUrl . endsWith ( "/" ) ) baseUrl = baseUrl . substring ( 0 , baseUrl . length ( ) - 1 ) ; return new DmnRestUrlBuilder ( baseUrl ) ; }
uses baseurl as the base url
