code: public static <C extends Page> String absoluteUrlFor(final Class<C> page,
  		final PageParameters parameters, final boolean withServerPort)
  	{
  		final StringBuilder url = new StringBuilder();
  		url.append(WicketUrlExtensions.getDomainUrl(withServerPort));
  		url.append(WicketUrlExtensions.getBaseUrl(page, parameters).canonical().toString());
  		return url.toString();
  	}
docs: Returns the absolute url for the given page with the parameters and optionally with the
  server port.
  
  @param <C>
  the generic type
  @param page
  the page
  @param parameters
  the parameters
  @param withServerPort
  the with server port
  @return the string