org.apache.shindig.gadgets.rewrite
Class ContentRewriterFeature

java.lang.Object
  extended by org.apache.shindig.gadgets.rewrite.ContentRewriterFeature

public class ContentRewriterFeature
extends Object

Parser for the "content-rewrite" feature. The supported params are include-url and exclude-url which honor multiple occurances of the parameter, these are simple case insensitive substrings, with "*" being the match-all wildcard. Additionally expires is the seconds for caching of the rewritten result. For legacy applications include-urls and exclude-urls, which are regular expressions as well as a common seperated list in include-tags. Default values are container specific.


Nested Class Summary
static class ContentRewriterFeature.Config
           
static class ContentRewriterFeature.DefaultConfig
           
static class ContentRewriterFeature.Factory
          Factory for content rewriter features.
protected static class ContentRewriterFeature.PatternOptions
           
 
Field Summary
protected static String EXCLUDE_URL
           
protected static String EXCLUDE_URLS
           
protected static String EXPIRES
           
static Integer EXPIRES_DEFAULT
           
protected static String INCLUDE_TAGS
           
protected static String INCLUDE_URL
           
protected static String INCLUDE_URLS
           
 
Constructor Summary
ContentRewriterFeature()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCLUDE_URLS

protected static final String INCLUDE_URLS
See Also:
Constant Field Values

EXCLUDE_URLS

protected static final String EXCLUDE_URLS
See Also:
Constant Field Values

INCLUDE_URL

protected static final String INCLUDE_URL
See Also:
Constant Field Values

EXCLUDE_URL

protected static final String EXCLUDE_URL
See Also:
Constant Field Values

INCLUDE_TAGS

protected static final String INCLUDE_TAGS
See Also:
Constant Field Values

EXPIRES

protected static final String EXPIRES
See Also:
Constant Field Values

EXPIRES_DEFAULT

public static final Integer EXPIRES_DEFAULT
Constructor Detail

ContentRewriterFeature

public ContentRewriterFeature()


Copyright © 2007-2012. All Rights Reserved.