org.apache.shindig.gadgets.rewrite
Class ContentRewriterFeature.Config
java.lang.Object
org.apache.shindig.gadgets.rewrite.ContentRewriterFeature.Config
- Direct Known Subclasses:
- ContentRewriterFeature.DefaultConfig
- Enclosing class:
- ContentRewriterFeature
public static class ContentRewriterFeature.Config
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shouldInclude
protected boolean shouldInclude(String url)
shouldExclude
protected boolean shouldExclude(String url)
isRewriteEnabled
public boolean isRewriteEnabled()
shouldRewriteURL
public boolean shouldRewriteURL(String url)
shouldRewriteTag
public boolean shouldRewriteTag(String tag)
getIncludedTags
public Set<String> getIncludedTags()
getExpires
public Integer getExpires()
- Returns:
- the min TTL to enforce or null if proxy should respect headers
isSplitJsEnabled
public boolean isSplitJsEnabled()
getFingerprint
public int getFingerprint()
- Returns:
- fingerprint of rewriting rule for cache-busting
Copyright © 2007-2012. All Rights Reserved.