org.archive.wayback
Interface QueryRenderer

All Known Implementing Classes:
Renderer

public interface QueryRenderer

Version:
$Date: 2008-07-01 16:38:20 -0700 (Tue, 01 Jul 2008) $, $Revision: 2367 $
Author:
brad

Method Summary
 void renderCaptureResults(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, WaybackRequest wbRequest, CaptureSearchResults results, ResultURIConverter uriConverter)
          Show the SearchResults of the request for this particular URL
 void renderUrlResults(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse response, WaybackRequest wbRequest, UrlSearchResults results, ResultURIConverter uriConverter)
          Show the SearchResults of the request which may have resulted in multiple matching URLs.
 

Method Detail

renderCaptureResults

void renderCaptureResults(javax.servlet.http.HttpServletRequest httpRequest,
                          javax.servlet.http.HttpServletResponse httpResponse,
                          WaybackRequest wbRequest,
                          CaptureSearchResults results,
                          ResultURIConverter uriConverter)
                          throws javax.servlet.ServletException,
                                 java.io.IOException
Show the SearchResults of the request for this particular URL

Parameters:
httpRequest - the HttpServletRequest
httpResponse - the HttpServletResponse
wbRequest - the WaybackRequest that returned the results
results - the SearchResults that the WaybackRequest matched
uriConverter - the URI converter to use to translate matching results into replayable URLs
Throws:
javax.servlet.ServletException
java.io.IOException

renderUrlResults

void renderUrlResults(javax.servlet.http.HttpServletRequest httpRequest,
                      javax.servlet.http.HttpServletResponse response,
                      WaybackRequest wbRequest,
                      UrlSearchResults results,
                      ResultURIConverter uriConverter)
                      throws javax.servlet.ServletException,
                             java.io.IOException
Show the SearchResults of the request which may have resulted in multiple matching URLs.

Parameters:
httpRequest - the HttpServletRequest
response - the HttpServletResponse
wbRequest - the WaybackRequest that returned the results
results - the SearchResults that the WaybackRequest matched
uriConverter - the URI converter to use to translate matching results into replayable URLs
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2005-2009 Internet Archive. All Rights Reserved.