Interface IResourceBundle
- All Known Implementing Classes:
ConcatResourceBundleReference
,ReplacementResourceBundleReference
,ResourceBundleReference
public interface IResourceBundle
Interface implemented by
ResourceReference
s that are bundles. A bundle is a resource that
combines several resources in one item, for example, several javascript files combined into one.
Bundles are rendered as a single HeaderItem
, rather than several, and require only one
HTTP request to download, which can greatly reduce the number HTTP requests needed to get all
resources for a page. Resources need to be registered in ResourceBundles
under
Application.getResourceBundles()
.- Author:
- papegaaij
-
Method Summary
-
Method Details
-
getProvidedResources
Iterable<? extends HeaderItem> getProvidedResources()- Returns:
- the resources that are provided (part of) this resource.
-