public class TransparentReplayRenderer extends Object implements ReplayRenderer
| Constructor and Description |
|---|
TransparentReplayRenderer(HttpHeaderProcessor httpHeaderProcessor) |
| 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. |
public TransparentReplayRenderer(HttpHeaderProcessor httpHeaderProcessor)
public 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,
BadContentException
ReplayRendererresource.renderResource in interface ReplayRendererhttpRequest - 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 usualBadContentExceptionpublic void 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,
BadContentException
ReplayRendererhttpHeadersResource, reading archived content (HTTP entity) from
payloadResource.renderResource in interface ReplayRendererhttpRequest - 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 usualBadContentExceptionCopyright © 2005–2015 IIPC. All rights reserved.