return overrideFeatureNoOverrideExpires;
}
};
ContainerConfig config = new FakeContainerConfig();
proxyUriManager = new DefaultProxyUriManager(config, null);
rewriterNoOverrideExpires = new CssResponseRewriter(new CajaCssParser(),
proxyUriManager, factoryNoOverrideExpires);
final ContentRewriterFeature.Config overrideFeature =
rewriterFeatureFactory.get(createSpecWithRewrite(".*", ".*exclude.*", "3600", tags));
factory = new ContentRewriterFeature.Factory(null, null) {
@Override
public ContentRewriterFeature.Config get(HttpRequest req) {
return overrideFeature;
}
};
rewriter = new CssResponseRewriter(new CajaCssParser(),
proxyUriManager, factory);
dummyUri = Uri.parse("http://www.w3c.org");
gadgetContext = new GadgetContext() {
@Override
public Uri getUrl() {