public interface ReplayDispatcher
Modifier and Type | Method and Description |
---|---|
CaptureSearchResult |
getClosest(WaybackRequest wbRequest,
CaptureSearchResults results) |
ReplayRenderer |
getRenderer(WaybackRequest wbRequest,
CaptureSearchResult result,
Resource resource)
Return a ReplayRenderer appropriate for the Resource.
|
ReplayRenderer |
getRenderer(WaybackRequest wbRequest,
CaptureSearchResult result,
Resource httpHeadersResource,
Resource payloadResource)
Return a ReplayRenderer appropriate for the replaying the http headers
from
httpHeadersResource and the payload from
payloadResource . |
ReplayRenderer getRenderer(WaybackRequest wbRequest, CaptureSearchResult result, Resource resource)
wbRequest
- WaybackRequest being handled.result
- CapturSearchResult from the ResourceIndex which is
being returned.resource
- Resource as returned by ResourceStore which should
be returned to the user.ReplayRenderer getRenderer(WaybackRequest wbRequest, CaptureSearchResult result, Resource httpHeadersResource, Resource payloadResource)
httpHeadersResource
and the payload from
payloadResource
.wbRequest
- WaybackRequest being handled.result
- CapturSearchResult from the ResourceIndex which is
being returned.httpHeadersResource
- payloadResource
- CaptureSearchResult getClosest(WaybackRequest wbRequest, CaptureSearchResults results)
wbRequest
- the Request being handledresults
- the CaptureSearchResults from the ResourceIndexBetterRequestException
- if the user should be directed to a
different URL, with the exact timestamp, for example.Copyright © 2005–2015 IIPC. All rights reserved.