public abstract class ReplayRendererDecorator extends Object implements ReplayRenderer
Modifier and Type | Field and Description |
---|---|
protected ReplayRenderer |
decorated |
Constructor and Description |
---|
ReplayRendererDecorator() |
ReplayRendererDecorator(ReplayRenderer decorated) |
Modifier and Type | Method and Description |
---|---|
ReplayRenderer |
getDecorated() |
abstract 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 |
setDecorated(ReplayRenderer decorated) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderResource
protected ReplayRenderer decorated
public ReplayRendererDecorator()
public ReplayRendererDecorator(ReplayRenderer decorated)
decorated
- public ReplayRenderer getDecorated()
public void setDecorated(ReplayRenderer decorated)
decorated
- the decorated to setpublic abstract 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
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 usualWaybackException
- if Wayback data specific, anticipated exceptions
occurCopyright © 2005–2015 IIPC. All rights reserved.