org.apache.shindig.gadgets.rewrite
Class ContentRewriterFeature.Factory
java.lang.Object
org.apache.shindig.gadgets.rewrite.ContentRewriterFeature.Factory
- Enclosing class:
- ContentRewriterFeature
public static class ContentRewriterFeature.Factory
- extends Object
Factory for content rewriter features.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentRewriterFeature.Factory
@Inject
public ContentRewriterFeature.Factory(GadgetSpecFactory specFactory,
ContentRewriterFeature.DefaultConfig defaultConfig)
getDefault
public ContentRewriterFeature.Config getDefault()
get
public ContentRewriterFeature.Config get(HttpRequest request)
get
public ContentRewriterFeature.Config get(Uri gadgetUri)
get
public ContentRewriterFeature.Config get(GadgetSpec spec)
createRewriteAllFeature
public ContentRewriterFeature.Config createRewriteAllFeature(int ttl)
- Create a rewriter feature that allows all URIs to be rewritten.
Copyright © 2007-2012. All Rights Reserved.