public class ArchivalUrlSAXRewriteReplayRenderer extends Object implements ReplayRenderer
| Constructor and Description | 
|---|
| ArchivalUrlSAXRewriteReplayRenderer(HttpHeaderProcessor httpHeaderProcessor) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ContextResultURIConverterFactory | createConverterFactory(ResultURIConverter uriConverter,
                      javax.servlet.http.HttpServletRequest httpRequest,
                      WaybackRequest wbRequest) | 
| CharsetDetector | getCharsetDetector() | 
| ContextResultURIConverterFactory | getConverterFactory() | 
| ParseEventHandler | getDelegator() | 
| static ReplayRenderer | getFrameWrappingRenderer() | 
| boolean | isRewriteHttpsOnly() | 
| void | renderResource(javax.servlet.http.HttpServletRequest httpRequest,
              javax.servlet.http.HttpServletResponse httpResponse,
              WaybackRequest wbRequest,
              CaptureSearchResult result,
              Resource httpHeadersResource,
              Resource payloadResource,
              ResultURIConverter uriConverter,
              CaptureSearchResults results)Generate response that replays capture archive
  httpHeadersResource, reading archived content (HTTP entity) frompayloadResource. | 
| 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 | setCharsetDetector(CharsetDetector charsetDetector) | 
| void | setConverterFactory(ContextResultURIConverterFactory converterFactory) | 
| void | setDelegator(ParseEventHandler delegator) | 
| static void | setFrameWrappingRenderer(ReplayRenderer frameWrappingRenderer) | 
| void | setRewriteHttpsOnly(boolean rewriteHttpsOnly) | 
public ArchivalUrlSAXRewriteReplayRenderer(HttpHeaderProcessor httpHeaderProcessor)
httpHeaderProcessor - which should process HTTP headerspublic static ReplayRenderer getFrameWrappingRenderer()
public static void setFrameWrappingRenderer(ReplayRenderer frameWrappingRenderer)
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
ReplayRendererresource.renderResource in interface ReplayRendererhttpRequest - 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
         occurpublic void renderResource(javax.servlet.http.HttpServletRequest httpRequest,
                  javax.servlet.http.HttpServletResponse httpResponse,
                  WaybackRequest wbRequest,
                  CaptureSearchResult result,
                  Resource httpHeadersResource,
                  Resource payloadResource,
                  ResultURIConverter uriConverter,
                  CaptureSearchResults results)
                    throws javax.servlet.ServletException,
                           IOException,
                           WaybackException
ReplayRendererhttpHeadersResource, reading archived content (HTTP entity) from
 payloadResource.renderResource in interface ReplayRendererhttpRequest - the HttpServletRequesthttpResponse - the HttpServletResponsewbRequest - the WaybackRequest that returned the resultsresult - 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 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
         occurprotected ContextResultURIConverterFactory createConverterFactory(ResultURIConverter uriConverter, javax.servlet.http.HttpServletRequest httpRequest, WaybackRequest wbRequest)
public CharsetDetector getCharsetDetector()
public void setCharsetDetector(CharsetDetector charsetDetector)
charsetDetector - the charsetDetector to setpublic ParseEventHandler getDelegator()
public void setDelegator(ParseEventHandler delegator)
delegator - the delegator to setpublic ContextResultURIConverterFactory getConverterFactory()
public void setConverterFactory(ContextResultURIConverterFactory converterFactory)
public boolean isRewriteHttpsOnly()
public void setRewriteHttpsOnly(boolean rewriteHttpsOnly)
Copyright © 2005–2015 IIPC. All rights reserved.