public class ArchivalUrlDateRedirectReplayRenderer extends Object implements ReplayRenderer
Constructor and Description |
---|
ArchivalUrlDateRedirectReplayRenderer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
renderResource(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
WaybackRequest wbRequest,
CaptureSearchResult closest,
Resource httpHeadersResource,
Resource payloadResource,
ResultURIConverter uriConverter,
CaptureSearchResults captureResults)
Deprecated.
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)
Deprecated.
Generate response that replays capture archive
resource . |
public ArchivalUrlDateRedirectReplayRenderer()
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
ReplayRenderer
resource
.renderResource
in interface ReplayRenderer
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 usualpublic void renderResource(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, WaybackRequest wbRequest, CaptureSearchResult closest, Resource httpHeadersResource, Resource payloadResource, ResultURIConverter uriConverter, CaptureSearchResults captureResults) throws javax.servlet.ServletException, IOException
ReplayRenderer
httpHeadersResource
, reading archived content (HTTP entity) from
payloadResource
.renderResource
in interface ReplayRenderer
httpRequest
- the HttpServletRequesthttpResponse
- the HttpServletResponsewbRequest
- the WaybackRequest that returned the resultsclosest
- 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 URLscaptureResults
- all CaptureSearchResults that were returned from the
ResourceIndex
, probably including other capture dates of
the same URL.javax.servlet.ServletException
- per usualIOException
- per usualCopyright © 2005–2015 IIPC. All rights reserved.