code: public void renderResource(HttpServletRequest httpRequest,
  			HttpServletResponse httpResponse, WaybackRequest wbRequest,
  			CaptureSearchResult result, Resource resource,
  			ResultURIConverter uriConverter, CaptureSearchResults results)
  					throws ServletException, IOException {
  
  		// redirect to the better version:
  		String url = result.getOriginalUrl();
  		ArchivalUrl aUrl = new ArchivalUrl(wbRequest);
  		String dateSpec = aUrl.getDateSpec(result.getCaptureTimestamp());
  		String betterURI = uriConverter.makeReplayURI(dateSpec,url);
  		httpResponse.sendRedirect(betterURI);
  	}
docs: /* (non-Javadoc)
  @see org.archive.wayback.ReplayRenderer#renderResource(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.archive.wayback.core.WaybackRequest, org.archive.wayback.core.SearchResult, org.archive.wayback.core.Resource, org.archive.wayback.ResultURIConverter, org.archive.wayback.core.SearchResults)