org.apache.shindig.gadgets.features
Class FeatureResource.Default
java.lang.Object
org.apache.shindig.gadgets.features.FeatureResource.Default
- All Implemented Interfaces:
- FeatureResource
- Direct Known Subclasses:
- FeatureResource.Simple
- Enclosing interface:
- FeatureResource
public abstract static class FeatureResource.Default
- extends Object
- implements FeatureResource
Helper base class to avoid having to implement rarely-overridden isExternal/isProxyCacheable
functionality in FeatureResource.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureResource.Default
public FeatureResource.Default()
isExternal
public boolean isExternal()
- Specified by:
isExternal in interface FeatureResource
- Returns:
- True if the content is actually a URL to be included via <script src>
isProxyCacheable
public boolean isProxyCacheable()
- Specified by:
isProxyCacheable in interface FeatureResource
- Returns:
- True if the JS can be cached by intermediary proxies or not.
Copyright © 2007-2012. All Rights Reserved.