org.apache.shindig.gadgets.rewrite
Class ProxyingContentRewriter

java.lang.Object
  extended by org.apache.shindig.gadgets.rewrite.DomWalker.Rewriter
      extended by org.apache.shindig.gadgets.rewrite.ProxyingContentRewriter
All Implemented Interfaces:
GadgetRewriter, ResponseRewriter

public class ProxyingContentRewriter
extends DomWalker.Rewriter

Rewrites gadget content to force resources through the /proxy endpoint.

Since:
2.0.0

Constructor Summary
ProxyingContentRewriter(ContentRewriterFeature.Factory featureConfigFactory, ProxyUriManager proxyUriManager, ConcatUriManager concatUriManager)
           
 
Method Summary
protected  List<DomWalker.Visitor> makeVisitors(Gadget context, Uri gadgetUri)
           
 
Methods inherited from class org.apache.shindig.gadgets.rewrite.DomWalker.Rewriter
rewrite, rewrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyingContentRewriter

@Inject
public ProxyingContentRewriter(ContentRewriterFeature.Factory featureConfigFactory,
                                      ProxyUriManager proxyUriManager,
                                      ConcatUriManager concatUriManager)
Method Detail

makeVisitors

protected List<DomWalker.Visitor> makeVisitors(Gadget context,
                                               Uri gadgetUri)
Overrides:
makeVisitors in class DomWalker.Rewriter


Copyright © 2007-2012. All Rights Reserved.