org.archive.wayback.replay
Class ReplayRendererDecorator
java.lang.Object
org.archive.wayback.replay.ReplayRendererDecorator
- All Implemented Interfaces:
- ReplayRenderer
- Direct Known Subclasses:
- MementoReplayRendererDecorator
public abstract class ReplayRendererDecorator
- extends Object
- implements ReplayRenderer
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decorated
protected ReplayRenderer decorated
ReplayRendererDecorator
public ReplayRendererDecorator()
ReplayRendererDecorator
public ReplayRendererDecorator(ReplayRenderer decorated)
- Parameters:
httpHeaderProcessor -
getDecorated
public ReplayRenderer getDecorated()
- Returns:
- the decorated
setDecorated
public void setDecorated(ReplayRenderer decorated)
- Parameters:
decorated - the decorated to set
renderResource
public 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
- Description copied from interface:
ReplayRenderer
- return a resource to the user.
- Specified by:
renderResource in interface ReplayRenderer
- Parameters:
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.
- Throws:
javax.servlet.ServletException - per usual
IOException - per usual
WaybackException - if Wayback data specific, anticipated exceptions
occur
Copyright © 2005-2011 Internet Archive. All Rights Reserved.