| Package | Description |
|---|---|
| org.apache.wicket.request.resource.caching | |
| org.apache.wicket.request.resource.caching.version |
| Constructor and Description |
|---|
FilenameWithVersionResourceCachingStrategy(IResourceVersion resourceVersion)
create filename caching strategy with given version provider and
version-prefix = '' |
FilenameWithVersionResourceCachingStrategy(String versionPrefix,
IResourceVersion resourceVersion)
Constructor
|
QueryStringWithVersionResourceCachingStrategy(IResourceVersion resourceVersion)
create query string resource caching strategy
it will use a query parameter named
for storing the version information. |
QueryStringWithVersionResourceCachingStrategy(String versionParameter,
IResourceVersion resourceVersion)
create query string resource caching strategy
it will use a query parameter with name specified by
parameter
resourceVersion for storing the version information. |
| Modifier and Type | Class and Description |
|---|---|
class |
CachingResourceVersion
Caches the results of a delegating
IResourceVersion instance
in a member variable. |
class |
LastModifiedResourceVersion
Uses the last modified timestamp of a
IStaticCacheableResource
converted to milliseconds as a version string. |
class |
MessageDigestResourceVersion
computes the message digest of a
IStaticCacheableResource
and uses it as a version string
you can use any message digest algorithm that can be retrieved
by Java Cryptography Architecture (JCA) on your current platform. |
class |
RequestCycleCachedResourceVersion
Caches the results of a delegating
IResourceVersion instance
for the lifetime of the current http request. |
class |
StaticResourceVersion
provides a static version string for all package resources
|
| Constructor and Description |
|---|
CachingResourceVersion(IResourceVersion delegate)
create version cache
the cache will accept up to before
evicting the oldest entries.
|
CachingResourceVersion(IResourceVersion delegate,
int maxEntries)
create version cache
the cache will accept a maximum number of entries specified
by
maxEntries before evicting the oldest entries. |
RequestCycleCachedResourceVersion(IResourceVersion delegate)
create request-scoped resource provider cache
|
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.