code: private static String reduceToResourceNameAndId(String url) {
  		String[] splitUrl = SLASH.split(url);
  		String slash = "/";
  		return slash + splitUrl[splitUrl.length - 2] + slash + splitUrl[splitUrl.length - 1];
  	}
docs: Reduces long URL paths to a format {@code /resource/{id}}"
  
  @param url
  @return