org.apache.wicket.markup.html.resources
Class CompressedResourceReference
java.lang.Object
org.apache.wicket.ResourceReference
org.apache.wicket.markup.html.resources.CompressedResourceReference
- All Implemented Interfaces:
- java.io.Serializable, IClusterable
public class CompressedResourceReference
- extends ResourceReference
A static resource reference which can be transferred to the browser using the gzip compression.
Reduces the download size of for example javascript resources.
see ResourceReference
and CompressedPackageResource
- Author:
- Janne Hietamäki
- See Also:
- Serialized Form
Method Summary |
protected Resource |
newResource()
Factory method for lazy initialization of shared resources. |
Methods inherited from class org.apache.wicket.ResourceReference |
bind, equals, getLocale, getName, getResource, getScope, getSharedResourceKey, getStyle, hashCode, invalidate, lastModifiedTime, setLocale, setStyle, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CompressedResourceReference
public CompressedResourceReference(java.lang.Class scope,
java.lang.String name)
- See Also:
ResourceReference.ResourceReference(Class, String)
CompressedResourceReference
public CompressedResourceReference(java.lang.Class scope,
java.lang.String name,
java.util.Locale locale,
java.lang.String style)
- See Also:
ResourceReference.ResourceReference(Class scope, String name, Locale locale, String
style)
CompressedResourceReference
public CompressedResourceReference(java.lang.String name)
- See Also:
ResourceReference.ResourceReference(String)
newResource
protected Resource newResource()
- Description copied from class:
ResourceReference
- Factory method for lazy initialization of shared resources.
- Overrides:
newResource
in class ResourceReference
- Returns:
- The resource
- See Also:
ResourceReference.newResource()
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.