| Package | Description |
|---|---|
| org.wicketstuff.mergedresources | |
| org.wicketstuff.mergedresources.urlcoding |
| Modifier and Type | Method and Description |
|---|---|
ResourceMount |
ResourceMount.addResourceSpec(Class<?> scope,
String name)
add a new
ResourceSpec with this scope and name |
ResourceMount |
ResourceMount.addResourceSpec(Class<?> scope,
String name,
Locale locale,
String style,
Integer cacheDuration)
add a new
ResourceSpec with this scope, name, locale, style and cacheDuration |
ResourceMount |
ResourceMount.addResourceSpec(org.apache.wicket.ResourceReference ref)
add a
ResourceSpec using a ResourceReference |
ResourceMount |
ResourceMount.addResourceSpec(ResourceSpec resourceSpec) |
ResourceMount |
ResourceMount.addResourceSpecMatchingSuffix(Class<?> scope,
String suffix)
Adds a resource spec for a resource with the same name as the scope, adding a suffix.
|
ResourceMount |
ResourceMount.addResourceSpecs(Class<?> scope,
String... names)
add a new
ResourceSpec with this scope and each name |
ResourceMount |
ResourceMount.addResourceSpecs(Iterable<? extends ResourceSpec> resourceSpecs)
add all resource specs
|
ResourceMount |
ResourceMount.addResourceSpecs(org.apache.wicket.ResourceReference... refs)
add a
ResourceSpec for each ResourceReference |
ResourceMount |
ResourceMount.addResourceSpecs(ResourceSpec... resourceSpecs)
add all resource specs
|
ResourceMount |
ResourceMount.addResourceSpecsMatchingSuffix(Class<?>... scopes)
uses the path (set by
setPath(String)) to obtain a suffix to use with
addResourceSpecMatchingSuffix(Class, String) |
ResourceMount |
ResourceMount.addResourceSpecsMatchingSuffix(Class<?> scope,
Iterable<String> suffixes)
same as
addResourceSpecMatchingSuffix(Class, String) but using multiple suffixes |
ResourceMount |
ResourceMount.addResourceSpecsMatchingSuffix(String suffix,
Class<?>... scopes) |
ResourceMount |
ResourceMount.addResourceSpecsMatchingSuffixes(Class<?> scope,
String... suffixes)
same as
addResourceSpecMatchingSuffix(Class, String) but using multiple suffixes |
ResourceMount |
ResourceMount.autodetectCacheDuration()
autodetect cache duration: use minimum of all resource specs or
DEFAULT_CACHE_DURATION if
not available. |
ResourceMount |
ResourceMount.autodetectCompression()
autodetect whether this resource should be compressed using suffix of file name (e.g.
|
ResourceMount |
ResourceMount.autodetectLocale()
Autodetect the locale.
|
ResourceMount |
ResourceMount.autodetectMerging()
autodetect whether this resource should be merged using suffix of file name (e.g.
|
ResourceMount |
ResourceMount.autodetectMinifyCss()
Autodetect wheter resource should be minified using a CSS compressor.
|
ResourceMount |
ResourceMount.autodetectMinifyJs()
Autodetect wheter resource should be minified using a JS compressor.
|
ResourceMount |
ResourceMount.autodetectMountScope()
Same as passing
null to setMountScope(Class). |
ResourceMount |
ResourceMount.autodetectStyle()
Autodetect the style.
|
ResourceMount |
ResourceMount.autodetectVersion()
same as passing
null to setVersion(AbstractResourceVersion) |
ResourceMount |
ResourceMount.clearSpecs()
clear all added
ResourceSpecs |
ResourceMount |
ResourceMount.clone()
a copy of the resource mount, with unfolded collections of compressed suffixes, merged suffices and
ResourceSpecs |
ResourceMount |
ResourceMount.mount(org.apache.wicket.protocol.http.WebApplication application)
mount the
ResourceSpec(s) added either as a single Resource or multiple Resource, depending on
doMerge(). |
ResourceMount |
ResourceMount.setCacheDuration(int cacheDuration)
Set cache duration in seconds.
|
ResourceMount |
ResourceMount.setCompressed(boolean compressed) |
ResourceMount |
ResourceMount.setDefaultAggresiveCacheDuration()
Deprecated.
typo in name, it's aggressive with ss
|
ResourceMount |
ResourceMount.setDefaultAggressiveCacheDuration()
Same as passing
DEFAULT_AGGRESSIVE_CACHE_DURATION to setCacheDuration(int) |
ResourceMount |
ResourceMount.setDefaultCacheDuration()
Same as passing
DEFAULT_CACHE_DURATION to setCacheDuration(int) |
ResourceMount |
ResourceMount.setLocale(Locale locale)
Locale might either be detected from added
ResourceSpecs or set manually. |
ResourceMount |
ResourceMount.setMerged(boolean merge) |
ResourceMount |
ResourceMount.setMinifyCss(Boolean minifyCss) |
ResourceMount |
ResourceMount.setMinifyJs(Boolean minifyJs) |
ResourceMount |
ResourceMount.setMinVersion(AbstractResourceVersion minVersion)
force a minimal version.
|
ResourceMount |
ResourceMount.setMinVersion(int minVersionValue)
Convenience method to use a
SimpleResourceVersion as minVersion (e.g. |
ResourceMount |
ResourceMount.setMountRedirect(boolean mountRedirect) |
ResourceMount |
ResourceMount.setMountScope(Class<?> mountScope)
The mount scope to use.
|
ResourceMount |
ResourceMount.setNoVersion()
same as passing
AbstractResourceVersion.NO_VERSION to setVersion(AbstractResourceVersion) |
ResourceMount |
ResourceMount.setPath(String path)
the path to user for mounting.
|
ResourceMount |
ResourceMount.setPath(String prefix,
org.apache.wicket.ResourceReference ref)
convenience method to use
setPath(String) use a prefix and ResourceReference.getName(). |
ResourceMount |
ResourceMount.setPath(String prefix,
org.apache.wicket.ResourceReference ref,
String suffix)
convenience method to use
setPath(String) use a prefix and ResourceReference.getName(). |
ResourceMount |
ResourceMount.setPath(String prefix,
String name,
String suffix)
convenience method to use
setPath(String) use a prefix and a name |
ResourceMount |
ResourceMount.setPreProcessor(IResourcePreProcessor preProcessor)
use an
IResourcePreProcessor to modify resources (e.g. |
ResourceMount |
ResourceMount.setRequireVersion(boolean requireVersion)
IResourceVersionProvider might not always be able to detect the version of a resource. |
ResourceMount |
ResourceMount.setResourceVersionProvider(IResourceVersionProvider resourceVersionProvider)
Set the
IResourceVersionProvider to use for AbstractResourceVersion detection |
ResourceMount |
ResourceMount.setStyle(String style)
Style might either be detected from added
ResourceSpecs or set manually. |
ResourceMount |
ResourceMount.setSuffixMismatchStrategy(ResourceMount.SuffixMismatchStrategy suffixMismatchStrategy) |
ResourceMount |
ResourceMount.setVersion(AbstractResourceVersion version)
force a resource version, any
IResourceVersionProvider (
setResourceVersionProvider(IResourceVersionProvider)) will be ignored. |
ResourceMount |
ResourceMount.unsetMinVersion()
unset minimal version, same as passing
null to setMinVersion(AbstractResourceVersion) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ResourceMount.mountAnnotatedPackageResources(String mountPrefix,
Class<?> scope,
org.apache.wicket.protocol.http.WebApplication application,
ResourceMount mount) |
static void |
ResourceMount.mountAnnotatedPackageResources(String mountPrefix,
Package pkg,
org.apache.wicket.protocol.http.WebApplication application,
ResourceMount mount) |
static void |
ResourceMount.mountAnnotatedPackageResources(String mountPrefix,
String packageName,
org.apache.wicket.protocol.http.WebApplication application,
ResourceMount mount)
mount annotated resources from the given package.
|
static void |
ResourceMount.mountWicketResources(String mountPrefix,
org.apache.wicket.protocol.http.WebApplication application,
ResourceMount mount)
Mount wicket-event.js and wicket-ajax.js using wicket's version (e.g.
|
static void |
ResourceMount.mountWicketResourcesMerged(String mountPrefix,
org.apache.wicket.protocol.http.WebApplication application,
ResourceMount mount)
Mount wicket-event.js and wicket-ajax.js merged using wicket's version (e.g.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteHostResourceMount |
Copyright © 2017 Molindo GmbH. All Rights Reserved.