org.apache.shindig.gadgets.rewrite
Class ContentRewriterFeature.Factory

java.lang.Object
  extended by org.apache.shindig.gadgets.rewrite.ContentRewriterFeature.Factory
Enclosing class:
ContentRewriterFeature

public static class ContentRewriterFeature.Factory
extends Object

Factory for content rewriter features.


Constructor Summary
ContentRewriterFeature.Factory(GadgetSpecFactory specFactory, ContentRewriterFeature.DefaultConfig defaultConfig)
           
 
Method Summary
 ContentRewriterFeature.Config createRewriteAllFeature(int ttl)
          Create a rewriter feature that allows all URIs to be rewritten.
 ContentRewriterFeature.Config get(GadgetSpec spec)
           
 ContentRewriterFeature.Config get(HttpRequest request)
           
 ContentRewriterFeature.Config get(Uri gadgetUri)
           
 ContentRewriterFeature.Config getDefault()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentRewriterFeature.Factory

@Inject
public ContentRewriterFeature.Factory(GadgetSpecFactory specFactory,
                                             ContentRewriterFeature.DefaultConfig defaultConfig)
Method Detail

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.