public interface ReplayRenderer
ReplayRenderer generates response that replays archived content.
It may apply some transformations (often called rewrite) to the content
so that:
QueryRenderer| Modifier and Type | Method and Description |
|---|---|
void |
renderResource(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
WaybackRequest wbRequest,
CaptureSearchResult result,
Resource httpHeadersResource,
Resource payloadResource,
ResultURIConverter uriConverter,
CaptureSearchResults results)
Generate response that replays capture archive
httpHeadersResource, reading archived content (HTTP entity) from
payloadResource. |
void |
renderResource(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
WaybackRequest wbRequest,
CaptureSearchResult result,
Resource resource,
ResultURIConverter uriConverter,
CaptureSearchResults results)
Generate response that replays capture archive
resource. |
void renderResource(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
WaybackRequest wbRequest,
CaptureSearchResult result,
Resource resource,
ResultURIConverter uriConverter,
CaptureSearchResults results)
throws javax.servlet.ServletException,
IOException,
WaybackException
resource.httpRequest - the HttpServletRequesthttpResponse - the HttpServletResponsewbRequest - the WaybackRequest that returned the resultsresult - actual CaptureSearchResult that maps to resource to replayresource - resource to replayuriConverter - the URI converter to use to translate matching
results into replayable URLsresults - all CaptureSearchResults that were returned from the
ResourceIndex, probably including other capture dates of the same
URL.javax.servlet.ServletException - per usualIOException - per usualWaybackException - if Wayback data specific, anticipated exceptions
occurvoid renderResource(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
WaybackRequest wbRequest,
CaptureSearchResult result,
Resource httpHeadersResource,
Resource payloadResource,
ResultURIConverter uriConverter,
CaptureSearchResults results)
throws javax.servlet.ServletException,
IOException,
WaybackException
httpHeadersResource, reading archived content (HTTP entity) from
payloadResource.httpRequest - the HttpServletRequesthttpResponse - the HttpServletResponsewbRequest - the WaybackRequest that returned the resultsresult - CaptureSearchResult that maps to resource to replayhttpHeadersResource - resource with HTTP headers to replay
(typically a revisit record.)payloadResource - resource with payload to replayuriConverter - the URI converter to use to translate matching
results into replayable URLsresults - all CaptureSearchResults that were returned from the
ResourceIndex, probably including other capture dates of
the same URL.javax.servlet.ServletException - per usualIOException - per usualWaybackException - if Wayback data specific, anticipated exceptions
occurCopyright © 2005–2015 IIPC. All rights reserved.