org.archive.wayback.replay
Class JSPReplayRenderer
java.lang.Object
org.archive.wayback.replay.JSPReplayRenderer
- All Implemented Interfaces:
- ReplayRenderer
public class JSPReplayRenderer
- extends Object
- implements ReplayRenderer
ReplayRenderer implementation which just forwards responsibility for
rendering a resource to a .jsp file.
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSPReplayRenderer
public JSPReplayRenderer()
renderResource
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,
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
getTargetJsp
public String getTargetJsp()
- Returns:
- the context-relative path to the .jsp responsible for rendering
the resource
setTargetJsp
public void setTargetJsp(String targetJsp)
- Parameters:
targetJsp - the context-relative path to the .jsp responsible for
rendering the resource
Copyright © 2005-2011 Internet Archive. All Rights Reserved.