public interface QueryRenderer
QueryRenderer
generates response for two types of resource index
query: capture search and URL search.
There's no good reason two types of query should be bundled in one object.
Probably we should split this interface into two interfaces, or for the better,
just one interface covering the two. It'll open up a possibility of unifying
ReplayRenderer
and QueryRendere
into one interface to simplify
AccessPoint
.
ReplayRenderer
Modifier and Type | Method and Description |
---|---|
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.
|
void renderCaptureResults(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, WaybackRequest wbRequest, CaptureSearchResults results, ResultURIConverter uriConverter) throws javax.servlet.ServletException, IOException
httpRequest
- the HttpServletRequesthttpResponse
- the HttpServletResponsewbRequest
- the WaybackRequest that returned the resultsresults
- the SearchResults that the WaybackRequest matcheduriConverter
- the URI converter to use to translate matching
results into replayable URLsjavax.servlet.ServletException
- per usualIOException
- per usualvoid renderUrlResults(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse response, WaybackRequest wbRequest, UrlSearchResults results, ResultURIConverter uriConverter) throws javax.servlet.ServletException, IOException
httpRequest
- the HttpServletRequestresponse
- the HttpServletResponsewbRequest
- the WaybackRequest that returned the resultsresults
- the SearchResults that the WaybackRequest matcheduriConverter
- the URI converter to use to translate matching
results into replayable URLsjavax.servlet.ServletException
- per usualIOException
- per usualCopyright © 2005–2015 IIPC. All rights reserved.