Class OmnifacesProperties
java.lang.Object
org.joinfaces.autoconfigure.omnifaces.OmnifacesProperties
- All Implemented Interfaces:
ServletContextInitParameterProperties
@ConfigurationProperties(prefix="joinfaces.omnifaces")
public class OmnifacesProperties
extends Object
implements ServletContextInitParameterProperties
Configuration properties of OmniFaces.
Taken from
https://central.maven.org/maven2/org/omnifaces/omnifaces/1.13/omnifaces-1.13-javadoc.jar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanBoolean that when true installs a Servlet Filter (Servlet 3.0+ only) that works in conjunction with the useBuffer attribute of the Cache component to enable an alternative way to grab the content that needs to be cached.Class<? extends org.omnifaces.util.cache.CacheProvider>org.omnifaces.CACHE_PROVIDER.Sets the maximum number of elements that will be stored per web module (application scope).Sets the maximum amount of time in seconds that cached content is valid for the application scope.Sets the maximum number of elements that will be stored per session.Sets the maximum amount of time in seconds that cached content is valid for the session scope.org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.org.omnifaces.CDN_RESOURCE_HANDLER_URLS.Set with a value greater than 0 to activate server-side caching of the combined resource files.org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.List of resource identifiers of<h:head>resources which needs to be excluded from combining.Set totrueif you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.Set totrueif you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.List of resource identifiers of<h:head>resources which needs to be suppressed and removed.org.omnifaces.defaultcache.org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.org.omnifaces.FACES_VIEWS_ENABLED.org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.org.omnifaces.FACES_VIEWS_PATH_ACTION.org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.List of paths that are to be scanned by faces views.org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.inthashCode()voidsetCacheInstallBufferFilter(Boolean cacheInstallBufferFilter) Boolean that when true installs a Servlet Filter (Servlet 3.0+ only) that works in conjunction with the useBuffer attribute of the Cache component to enable an alternative way to grab the content that needs to be cached.voidsetCacheProvider(Class<? extends org.omnifaces.util.cache.CacheProvider> cacheProvider) org.omnifaces.CACHE_PROVIDER.voidsetCacheSettingApplicationMaxCapacity(Integer cacheSettingApplicationMaxCapacity) Sets the maximum number of elements that will be stored per web module (application scope).voidsetCacheSettingApplicationTtl(Duration cacheSettingApplicationTtl) Sets the maximum amount of time in seconds that cached content is valid for the application scope.voidsetCacheSettingSessionMaxCapacity(Integer cacheSettingSessionMaxCapacity) Sets the maximum number of elements that will be stored per session.voidsetCacheSettingSessionTtl(Duration cacheSettingSessionTtl) Sets the maximum amount of time in seconds that cached content is valid for the session scope.voidsetCdnResourceHandlerDisabled(Boolean cdnResourceHandlerDisabled) org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.voidsetCdnResourceHandlerUrls(String cdnResourceHandlerUrls) org.omnifaces.CDN_RESOURCE_HANDLER_URLS.voidsetCombinedResourceHandlerCacheTtl(Duration combinedResourceHandlerCacheTtl) Set with a value greater than 0 to activate server-side caching of the combined resource files.voidsetCombinedResourceHandlerDisabled(Boolean combinedResourceHandlerDisabled) org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.voidsetCombinedResourceHandlerExcludedResources(List<String> combinedResourceHandlerExcludedResources) List of resource identifiers of<h:head>resources which needs to be excluded from combining.voidsetCombinedResourceHandlerInlineCss(Boolean combinedResourceHandlerInlineCss) Set totrueif you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.voidsetCombinedResourceHandlerInlineJs(Boolean combinedResourceHandlerInlineJs) Set totrueif you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.voidsetCombinedResourceHandlerSuppressedResources(List<String> combinedResourceHandlerSuppressedResources) List of resource identifiers of<h:head>resources which needs to be suppressed and removed.voidsetDefaultcache(String defaultcache) org.omnifaces.defaultcache.voidsetExceptionTypesToUnwrap(List<Class<? extends Throwable>> exceptionTypesToUnwrap) org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.voidsetFacesViewsDispatchMethod(String facesViewsDispatchMethod) org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.voidsetFacesViewsEnabled(Boolean facesViewsEnabled) org.omnifaces.FACES_VIEWS_ENABLED.voidsetFacesViewsExtensionAction(String facesViewsExtensionAction) org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.voidsetFacesViewsFilterAfterDeclaredFilters(String facesViewsFilterAfterDeclaredFilters) org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.voidsetFacesViewsPathAction(String facesViewsPathAction) org.omnifaces.FACES_VIEWS_PATH_ACTION.voidsetFacesViewsScannedViewsAlwaysExtensionless(Boolean facesViewsScannedViewsAlwaysExtensionless) org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.voidsetFacesViewsScanPaths(List<String> facesViewsScanPaths) List of paths that are to be scanned by faces views.voidsetFacesViewsViewHandlerMode(String facesViewsViewHandlerMode) org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.voidsetHtml5RenderKitPassthroughAttributes(String html5RenderKitPassthroughAttributes) org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.toString()
-
Constructor Details
-
OmnifacesProperties
public OmnifacesProperties()
-
-
Method Details
-
getCacheProvider
org.omnifaces.CACHE_PROVIDER.- See Also:
-
CacheInitializer.CACHE_PROVIDER_INIT_PARAM_NAME
-
getDefaultcache
org.omnifaces.defaultcache.- See Also:
-
CacheInstancePerScopeProvider.DEFAULT_CACHE_PARAM_NAME
-
getExceptionTypesToUnwrap
org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.- See Also:
-
FullAjaxExceptionHandler.PARAM_NAME_EXCEPTION_TYPES_TO_UNWRAP
-
getFacesViewsDispatchMethod
org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.- See Also:
-
FacesViews#FACES_VIEWS_DISPATCH_METHOD_PARAM_NAME
-
getFacesViewsEnabled
org.omnifaces.FACES_VIEWS_ENABLED.- See Also:
-
FacesViews.FACES_VIEWS_ENABLED_PARAM_NAME
-
getFacesViewsExtensionAction
org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.- See Also:
-
FacesViews.FACES_VIEWS_EXTENSION_ACTION_PARAM_NAME
-
getFacesViewsFilterAfterDeclaredFilters
org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.- See Also:
-
FacesViews.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS_PARAM_NAME
-
getFacesViewsPathAction
org.omnifaces.FACES_VIEWS_PATH_ACTION.- See Also:
-
FacesViews.FACES_VIEWS_PATH_ACTION_PARAM_NAME
-
getFacesViewsScanPaths
List of paths that are to be scanned by faces views.- See Also:
-
FacesViews.FACES_VIEWS_SCAN_PATHS_PARAM_NAME
-
getFacesViewsScannedViewsAlwaysExtensionless
org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.- See Also:
-
FacesViews.FACES_VIEWS_SCANNED_VIEWS_EXTENSIONLESS_PARAM_NAME
-
getFacesViewsViewHandlerMode
org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.- See Also:
-
FacesViews#FACES_VIEWS_VIEW_HANDLER_MODE_PARAM_NAME
-
getHtml5RenderKitPassthroughAttributes
org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.- See Also:
-
Html5RenderKit#PARAM_NAME_PASSTHROUGH_ATTRIBUTES
-
getCdnResourceHandlerDisabled
org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.- See Also:
-
CDNResourceHandler.PARAM_NAME_CDN_DISABLED
-
getCdnResourceHandlerUrls
org.omnifaces.CDN_RESOURCE_HANDLER_URLS.- See Also:
-
CDNResourceHandler.PARAM_NAME_CDN_RESOURCES
-
getCombinedResourceHandlerCacheTtl
Set with a value greater than 0 to activate server-side caching of the combined resource files. The value is interpreted as cache TTL (time to live) in seconds and is only effective when the JSF project stage is not set toDevelopment.- See Also:
-
CombinedResourceHandler.PARAM_NAME_CACHE_TTL
-
getCombinedResourceHandlerDisabled
org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.- See Also:
-
CombinedResourceHandler.PARAM_NAME_DISABLED
-
getCombinedResourceHandlerExcludedResources
List of resource identifiers of<h:head>resources which needs to be excluded from combining.- See Also:
-
CombinedResourceHandler.PARAM_NAME_EXCLUDED_RESOURCES
-
getCombinedResourceHandlerInlineCss
Set totrueif you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.- See Also:
-
CombinedResourceHandler.PARAM_NAME_INLINE_CSS
-
getCombinedResourceHandlerInlineJs
Set totrueif you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.- See Also:
-
CombinedResourceHandler.PARAM_NAME_INLINE_JS
-
getCombinedResourceHandlerSuppressedResources
List of resource identifiers of<h:head>resources which needs to be suppressed and removed.- See Also:
-
CombinedResourceHandler.PARAM_NAME_SUPPRESSED_RESOURCES
-
getCacheSettingApplicationMaxCapacity
Sets the maximum number of elements that will be stored per web module (application scope). Default: no limit- See Also:
-
CacheInitializer.CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIXCacheInstancePerScopeProvider.APP_MAX_CAP_PARAM_NAME
-
getCacheSettingApplicationTtl
Sets the maximum amount of time in seconds that cached content is valid for the application scope. Can be overriden by individal cache components. Default: no limit.- See Also:
-
CacheInitializerListener#CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIXCacheInstancePerScopeProvider.APP_TTL_PARAM_NAME
-
getCacheSettingSessionMaxCapacity
Sets the maximum number of elements that will be stored per session. Default: no limit.- See Also:
-
CacheInitializerListener#CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIXCacheInstancePerScopeProvider.SESSION_MAX_CAP_PARAM_NAME
-
getCacheSettingSessionTtl
Sets the maximum amount of time in seconds that cached content is valid for the session scope. Can be overriden by individal cache components. Default: no limit.- See Also:
-
CacheInitializerListener#CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIXCacheInstancePerScopeProvider.SESSION_TTL_PARAM_NAME
-
getCacheInstallBufferFilter
Boolean that when true installs a Servlet Filter (Servlet 3.0+ only) that works in conjunction with the useBuffer attribute of the Cache component to enable an alternative way to grab the content that needs to be cached. This is a convenience setting that is a short-cut for installing theBufferedHttpServletResponsefilter manually. If more finegrained control is needed regarding which place in the filter chain the filter appears and which resources it exactly filters, this setting should not be used and the mentioned filter should be manually configured. Default: false. -
setCacheProvider
org.omnifaces.CACHE_PROVIDER.- See Also:
-
CacheInitializer.CACHE_PROVIDER_INIT_PARAM_NAME
-
setDefaultcache
org.omnifaces.defaultcache.- See Also:
-
CacheInstancePerScopeProvider.DEFAULT_CACHE_PARAM_NAME
-
setExceptionTypesToUnwrap
org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.- See Also:
-
FullAjaxExceptionHandler.PARAM_NAME_EXCEPTION_TYPES_TO_UNWRAP
-
setFacesViewsDispatchMethod
org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.- See Also:
-
FacesViews#FACES_VIEWS_DISPATCH_METHOD_PARAM_NAME
-
setFacesViewsEnabled
org.omnifaces.FACES_VIEWS_ENABLED.- See Also:
-
FacesViews.FACES_VIEWS_ENABLED_PARAM_NAME
-
setFacesViewsExtensionAction
org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.- See Also:
-
FacesViews.FACES_VIEWS_EXTENSION_ACTION_PARAM_NAME
-
setFacesViewsFilterAfterDeclaredFilters
org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.- See Also:
-
FacesViews.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS_PARAM_NAME
-
setFacesViewsPathAction
org.omnifaces.FACES_VIEWS_PATH_ACTION.- See Also:
-
FacesViews.FACES_VIEWS_PATH_ACTION_PARAM_NAME
-
setFacesViewsScanPaths
List of paths that are to be scanned by faces views.- See Also:
-
FacesViews.FACES_VIEWS_SCAN_PATHS_PARAM_NAME
-
setFacesViewsScannedViewsAlwaysExtensionless
public void setFacesViewsScannedViewsAlwaysExtensionless(Boolean facesViewsScannedViewsAlwaysExtensionless) org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.- See Also:
-
FacesViews.FACES_VIEWS_SCANNED_VIEWS_EXTENSIONLESS_PARAM_NAME
-
setFacesViewsViewHandlerMode
org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.- See Also:
-
FacesViews#FACES_VIEWS_VIEW_HANDLER_MODE_PARAM_NAME
-
setHtml5RenderKitPassthroughAttributes
org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.- See Also:
-
Html5RenderKit#PARAM_NAME_PASSTHROUGH_ATTRIBUTES
-
setCdnResourceHandlerDisabled
org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.- See Also:
-
CDNResourceHandler.PARAM_NAME_CDN_DISABLED
-
setCdnResourceHandlerUrls
org.omnifaces.CDN_RESOURCE_HANDLER_URLS.- See Also:
-
CDNResourceHandler.PARAM_NAME_CDN_RESOURCES
-
setCombinedResourceHandlerCacheTtl
Set with a value greater than 0 to activate server-side caching of the combined resource files. The value is interpreted as cache TTL (time to live) in seconds and is only effective when the JSF project stage is not set toDevelopment.- See Also:
-
CombinedResourceHandler.PARAM_NAME_CACHE_TTL
-
setCombinedResourceHandlerDisabled
org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.- See Also:
-
CombinedResourceHandler.PARAM_NAME_DISABLED
-
setCombinedResourceHandlerExcludedResources
public void setCombinedResourceHandlerExcludedResources(List<String> combinedResourceHandlerExcludedResources) List of resource identifiers of<h:head>resources which needs to be excluded from combining.- See Also:
-
CombinedResourceHandler.PARAM_NAME_EXCLUDED_RESOURCES
-
setCombinedResourceHandlerInlineCss
Set totrueif you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.- See Also:
-
CombinedResourceHandler.PARAM_NAME_INLINE_CSS
-
setCombinedResourceHandlerInlineJs
Set totrueif you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.- See Also:
-
CombinedResourceHandler.PARAM_NAME_INLINE_JS
-
setCombinedResourceHandlerSuppressedResources
public void setCombinedResourceHandlerSuppressedResources(List<String> combinedResourceHandlerSuppressedResources) List of resource identifiers of<h:head>resources which needs to be suppressed and removed.- See Also:
-
CombinedResourceHandler.PARAM_NAME_SUPPRESSED_RESOURCES
-
setCacheSettingApplicationMaxCapacity
Sets the maximum number of elements that will be stored per web module (application scope). Default: no limit- See Also:
-
CacheInitializer.CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIXCacheInstancePerScopeProvider.APP_MAX_CAP_PARAM_NAME
-
setCacheSettingApplicationTtl
Sets the maximum amount of time in seconds that cached content is valid for the application scope. Can be overriden by individal cache components. Default: no limit.- See Also:
-
CacheInitializerListener#CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIXCacheInstancePerScopeProvider.APP_TTL_PARAM_NAME
-
setCacheSettingSessionMaxCapacity
Sets the maximum number of elements that will be stored per session. Default: no limit.- See Also:
-
CacheInitializerListener#CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIXCacheInstancePerScopeProvider.SESSION_MAX_CAP_PARAM_NAME
-
setCacheSettingSessionTtl
Sets the maximum amount of time in seconds that cached content is valid for the session scope. Can be overriden by individal cache components. Default: no limit.- See Also:
-
CacheInitializerListener#CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIXCacheInstancePerScopeProvider.SESSION_TTL_PARAM_NAME
-
setCacheInstallBufferFilter
Boolean that when true installs a Servlet Filter (Servlet 3.0+ only) that works in conjunction with the useBuffer attribute of the Cache component to enable an alternative way to grab the content that needs to be cached. This is a convenience setting that is a short-cut for installing theBufferedHttpServletResponsefilter manually. If more finegrained control is needed regarding which place in the filter chain the filter appears and which resources it exactly filters, this setting should not be used and the mentioned filter should be manually configured. Default: false. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-