wicket.markup.html.resources
Class CompressedResourceReference

java.lang.Object
  extended by wicket.ResourceReference
      extended by wicket.markup.html.resources.CompressedResourceReference
All Implemented Interfaces:
java.io.Serializable

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

Field Summary
 
Fields inherited from class wicket.ResourceReference
locale
 
Constructor Summary
CompressedResourceReference(java.lang.Class scope, java.lang.String name)
          Construct.
 
Method Summary
protected  Resource newResource()
          Factory method for lazy initialization of shared resources.
 
Methods inherited from class wicket.ResourceReference
bind, equals, getLocale, getName, getResource, getScope, getSharedResourceKey, getStyle, hashCode, invalidate, setLocale, setStyle, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompressedResourceReference

public CompressedResourceReference(java.lang.Class scope,
                                   java.lang.String name)
Construct.

Parameters:
scope -
name -
Method Detail

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


Copyright © 2004-2007 Wicket developers. All Rights Reserved.