Package org.archive.wayback.replay

Examples of org.archive.wayback.replay.RedirectRewritingHttpHeaderProcessor


    /* (non-Javadoc)
     * @see junit.framework.TestCase#setUp()
     */
    protected void setUp() throws Exception {
        super.setUp();
        RedirectRewritingHttpHeaderProcessor httpHeaderProcessor = new RedirectRewritingHttpHeaderProcessor();
        httpHeaderProcessor.setPrefix("X-Archive-Orig-");
       
        cut = new ArchivalUrlCSSReplayRenderer(httpHeaderProcessor);
       
        uriConverter = EasyMock.createMock(ResultURIConverter.class);
       
View Full Code Here


   * proxy-mode despite its name.)
   *
   * @see org.archive.wayback.replay.html.transformer.JSStringTransformerTest
   */
  public void testProxyHttpsTranslation() throws Exception {
    HttpHeaderProcessor httpHeaderProcessor = new RedirectRewritingHttpHeaderProcessor();
    ArchivalURLJSStringTransformerReplayRenderer renderer = new ArchivalURLJSStringTransformerReplayRenderer(
        httpHeaderProcessor);
    // not testing jspInserts - TODO
   
    // in production transformer is a MultiRegexReplaceStringTransformer
View Full Code Here

    /* (non-Javadoc)
     * @see junit.framework.TestCase#setUp()
     */
    protected void setUp() throws Exception {
        super.setUp();
        RedirectRewritingHttpHeaderProcessor httpHeaderProcessor = new RedirectRewritingHttpHeaderProcessor();
        httpHeaderProcessor.setPrefix("X-Archive-Orig-");
       
        cut = new ArchivalUrlSAXRewriteReplayRenderer(httpHeaderProcessor);
       
        uriConverter = EasyMock.createMock(ResultURIConverter.class);
       
View Full Code Here

TOP

Related Classes of org.archive.wayback.replay.RedirectRewritingHttpHeaderProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.