code: public String getURL(String url, Object optParam, boolean keepSettings) throws IOException {
  		StringBuilder SB=new StringBuilder();
  		SB.append(url);
  		List<String> finishedParams=new SortedArrayList<>();
  		boolean alreadyAppended=appendParams(SB, optParam, finishedParams, false);
  		if(keepSettings) appendSettings(finishedParams, alreadyAppended, SB);
  		return SB.toString();
  	}
docs: Gets the context-relative URL, optionally with the settings embedded.
  Parameters should already be URL encoded but not XML encoded.
  
  @param  url  the context-relative URL