[ 
https://issues.apache.org/jira/browse/SHINDIG-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657129#action_12657129
 ] 

Kevin Brown commented on SHINDIG-795:
-------------------------------------

Currently the best way to do this is to override createLinkRewriter in 
CSSContentRewriter and HTMLContentRewriter.

The 'right' way to do this would be to use a Provider<LinkRewriter>, but that's 
kind of a pain unless you also use Guice 2.0 and AssistedInject.

> Allow easier customization of LinkRewriter with Guice bindings
> --------------------------------------------------------------
>
>                 Key: SHINDIG-795
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-795
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadget Rendering Server (Java)
>            Reporter: chirag shah
>
> The default implementation of LinkRewriter is ProxyingLinkRewriter and it 
> will rewrite a link to the form "http://www.host.com/proxy/url=<url encoded 
> link>&gadget=<gadget spec url>&fp=<fingeprint of rewriting rule>" however, 
> containers may want a custom implementation of LinkRewriter. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to