HTMLContentRewriter.TAGS));
ContentRewriterFeatureFactory factoryNoOverrideExpires = mockContentRewriterFeatureFactory(overrideFeatureNoOverrideExpires);
rewriterNoOverrideExpires = new HTMLContentRewriter(
factoryNoOverrideExpires, new CssRequestRewriter(
factoryNoOverrideExpires, new CajaCssLexerParser(),
new DefaultProxyingLinkRewriterFactory(rewriterUris)),
new DefaultConcatLinkRewriterFactory(rewriterUris),
new DefaultProxyingLinkRewriterFactory(rewriterUris));
ContentRewriterFeature overrideFeature = rewriterFeatureFactory
.get(createSpecWithRewrite(".*", ".*exclude.*", "3600",
HTMLContentRewriter.TAGS));
ContentRewriterFeatureFactory factory = mockContentRewriterFeatureFactory(overrideFeature);
rewriter = new HTMLContentRewriter(factory, new CssRequestRewriter(factory,
new CajaCssLexerParser(), new DefaultProxyingLinkRewriterFactory(
rewriterUris)), new DefaultConcatLinkRewriterFactory(rewriterUris),
new DefaultProxyingLinkRewriterFactory(rewriterUris));
}