org.apache.wicket.resource.bundles
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
getProvidedResources
Iterable<? extends HeaderItem> getProvidedResources()
- Returns:
- the resources that are provided (part of) this resource.
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.