code: public String getURL(String url, Object optParam) throws IOException {
  		return getURL(url, optParam, true);
  	}
docs: Gets the URL String with the given parameters embedded, keeping the current settings.
  
  @param  url            the context-relative URL, with a beginning slash
  @param  optParam       any number of additional parameters.  This parameter can accept several types of
  objects.  The following is a list of supported objects and a brief description of its
  behavior.
  Parameters should already be URL encoded but not yet XML encoded.
  <ul>
  <li>
  <code>String</code> - appended to the end of the parameters, assumed to be in the
  format name=value
  </li>
  <li>
  <code>String[]</code> - name and value pairs, the first element of each pair is the
  name, the second is the value
  </li>
  </ul>
  @exception  IllegalArgumentException  if <code>optParam</code> is not a supported object