Uses of Class
org.apache.wicket.settings.ResourceSettings
-
Uses of ResourceSettings in org.apache.wicket
Modifier and TypeMethodDescriptionfinal Application
Application.setResourceSettings
(ResourceSettings resourceSettings) -
Uses of ResourceSettings in org.apache.wicket.settings
Modifier and TypeMethodDescriptionResourceSettings.addResourceFactory
(String name, IResourceFactory resourceFactory) Adds a resource factory to the list of factories to consult when generating resources automaticallyResourceSettings.setCachingStrategy
(IResourceCachingStrategy strategy) sets the resource caching strategyfinal ResourceSettings
ResourceSettings.setDefaultCacheDuration
(Duration duration) Set the default cache duration for resources.ResourceSettings.setEncodeJSessionId
(boolean encodeJSessionId) Sets a flag indicating whether the jsessionid should be encoded in the url for resources implementingIStaticCacheableResource
when the cookies are disabled and there is an active http session.ResourceSettings.setFileCleaner
(IFileCleaner fileUploadCleaner) Sets a cleaner that can be used to remove files asynchronously.ResourceSettings.setHeaderItemComparator
(Comparator<? super ResourceAggregator.RecordedHeaderItem> headerItemComparator) Sets the comparator used by the resource aggregator for sorting header items.ResourceSettings.setLocalizer
(Localizer localizer) Sets the localizer which will be used to find property values.ResourceSettings.setPackageResourceGuard
(IPackageResourceGuard packageResourceGuard) Sets thepackage resource guard
.ResourceSettings.setParentFolderPlaceholder
(String sequence) Placeholder string for '..' within resource urls (which will be crippled by the browser and not work anymore).ResourceSettings.setPropertiesFactory
(IPropertiesFactory factory) Set the property factory which will be used to load property filesResourceSettings.setResourceFinders
(List<IResourceFinder> resourceFinders) Sets the finders to use when searching for resources.ResourceSettings.setResourcePollFrequency
(Duration resourcePollFrequency) Sets the resource polling frequency.ResourceSettings.setResourceStreamLocator
(IResourceStreamLocator resourceStreamLocator) /** Sets the resource stream locator for this application Consider wrappingresourceStreamLocator
inCachingResourceStreamLocator
.ResourceSettings.setResourceWatcher
(IModificationWatcher watcher) Sets the resource watcherResourceSettings.setThrowExceptionOnMissingResource
(boolean throwExceptionOnMissingResource) ResourceSettings.setUseDefaultOnMissingResource
(boolean useDefaultOnMissingResource) ResourceSettings.setUseMinifiedResources
(boolean useMinifiedResources) Sets whether to use pre-minified resources when available.