org.archive.wayback
Interface QueryRenderer

All Known Implementing Classes:
Renderer

public interface QueryRenderer

Version:
$Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
Author:
brad

Method Summary
 void renderCaptureResults(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, WaybackRequest wbRequest, CaptureSearchResults results, ResultURIConverter uriConverter)
          Display matching SearchResults for the WaybackRequest to the user.
 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,
                                 IOException
Display matching SearchResults for the WaybackRequest to the user.

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 - per usual
IOException - per usual

renderUrlResults

void renderUrlResults(javax.servlet.http.HttpServletRequest httpRequest,
                      javax.servlet.http.HttpServletResponse response,
                      WaybackRequest wbRequest,
                      UrlSearchResults results,
                      ResultURIConverter uriConverter)
                      throws javax.servlet.ServletException,
                             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 - per usual
IOException - per usual


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