code: public static String createGenerationPath(String path, GeneratorRegistry registry, String randomParam) {
  
  		String requestPath = null;
  		try {
  
  			requestPath = registry.getDebugModeGenerationPath(path);
  			if (randomParam != null) {
  				requestPath += "?" + randomParam + "&";
  			} else {
  				requestPath += "?";
  			}
  			requestPath += JawrRequestHandler.GENERATION_PARAM + "=" + URLEncoder.encode(path, "UTF-8");
  		} catch (UnsupportedEncodingException neverHappens) {
  			/* URLEncoder:how not to use checked exceptions... */
  			throw new JawrLinkRenderingException(
  					"Something went unexpectedly wrong while encoding a URL for a generator. ", neverHappens);
  		}
  		return requestPath;
  	}
docs: converts a generation path (such as jar:/some/path/file) into a request
  path that the request handler can understand and process.
  
  @param path
  the path
  @param registry
  the generator registry
  @param randomParam
  the random parameter
  @return the generation path