public class NXHTMLContentRewriter extends Object implements org.apache.shindig.gadgets.rewrite.GadgetRewriter, org.apache.shindig.gadgets.rewrite.RequestRewriter
Constructor and Description |
---|
NXHTMLContentRewriter(org.apache.shindig.gadgets.rewrite.ContentRewriterFeatureFactory rewriterFeatureFactory,
org.apache.shindig.gadgets.rewrite.CssRequestRewriter cssRewriter,
org.apache.shindig.gadgets.rewrite.ConcatLinkRewriterFactory concatLinkRewriterFactory,
org.apache.shindig.gadgets.rewrite.ProxyingLinkRewriterFactory proxyingLinkRewriterFactory) |
Modifier and Type | Method and Description |
---|---|
void |
rewrite(org.apache.shindig.gadgets.Gadget gadget,
org.apache.shindig.gadgets.rewrite.MutableContent content) |
boolean |
rewrite(org.apache.shindig.gadgets.http.HttpRequest request,
org.apache.shindig.gadgets.http.HttpResponse original,
org.apache.shindig.gadgets.rewrite.MutableContent content) |
@Inject public NXHTMLContentRewriter(org.apache.shindig.gadgets.rewrite.ContentRewriterFeatureFactory rewriterFeatureFactory, org.apache.shindig.gadgets.rewrite.CssRequestRewriter cssRewriter, org.apache.shindig.gadgets.rewrite.ConcatLinkRewriterFactory concatLinkRewriterFactory, org.apache.shindig.gadgets.rewrite.ProxyingLinkRewriterFactory proxyingLinkRewriterFactory)
public boolean rewrite(org.apache.shindig.gadgets.http.HttpRequest request, org.apache.shindig.gadgets.http.HttpResponse original, org.apache.shindig.gadgets.rewrite.MutableContent content)
rewrite
in interface org.apache.shindig.gadgets.rewrite.RequestRewriter
public void rewrite(org.apache.shindig.gadgets.Gadget gadget, org.apache.shindig.gadgets.rewrite.MutableContent content)
rewrite
in interface org.apache.shindig.gadgets.rewrite.GadgetRewriter
Copyright © 2014 Nuxeo SA. All rights reserved.