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 http://central.maven.org/maven2/org/omnifaces/omnifaces/1.13/omnifaces-1.13-javadoc.jar
-
-
Constructor Summary
Constructors Constructor Description OmnifacesProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)BooleangetCacheInstallBufferFilter()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.Class<?>getCacheProvider()org.omnifaces.CACHE_PROVIDER.IntegergetCacheSettingApplicationMaxCapacity()Sets the maximum number of elements that will be stored per web module (application scope).IntegergetCacheSettingApplicationTtl()Sets the maximum amount of time in seconds that cached content is valid for the application scope.IntegergetCacheSettingSessionMaxCapacity()Sets the maximum number of elements that will be stored per session.IntegergetCacheSettingSessionTtl()Sets the maximum amount of time in seconds that cached content is valid for the session scope.BooleangetCdnResourceHandlerDisabled()org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.StringgetCdnResourceHandlerUrls()org.omnifaces.CDN_RESOURCE_HANDLER_URLS.IntegergetCombinedResourceHandlerCacheTtl()Set with a value greater than 0 to activate server-side caching of the combined resource files.BooleangetCombinedResourceHandlerDisabled()org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.List<String>getCombinedResourceHandlerExcludedResources()List of resource identifiers of<h:head>resources which needs to be excluded from combining.BooleangetCombinedResourceHandlerInlineCss()Set totrueif you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.BooleangetCombinedResourceHandlerInlineJs()Set totrueif you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.List<String>getCombinedResourceHandlerSuppressedResources()List of resource identifiers of<h:head>resources which needs to be suppressed and removed.StringgetDefaultcache()org.omnifaces.defaultcache.List<Class<? extends Throwable>>getExceptionTypesToUnwrap()org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.StringgetFacesViewsDispatchMethod()org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.BooleangetFacesViewsEnabled()org.omnifaces.FACES_VIEWS_ENABLED.StringgetFacesViewsExtensionAction()org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.StringgetFacesViewsFilterAfterDeclaredFilters()org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.StringgetFacesViewsPathAction()org.omnifaces.FACES_VIEWS_PATH_ACTION.BooleangetFacesViewsScannedViewsAlwaysExtensionless()org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.List<String>getFacesViewsScanPaths()List of paths that are to be scanned by faces views.StringgetFacesViewsViewHandlerMode()org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.StringgetHtml5RenderKitPassthroughAttributes()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<?> cacheProvider)org.omnifaces.CACHE_PROVIDER.voidsetCacheSettingApplicationMaxCapacity(Integer cacheSettingApplicationMaxCapacity)Sets the maximum number of elements that will be stored per web module (application scope).voidsetCacheSettingApplicationTtl(Integer 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(Integer 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(Integer 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.StringtoString()
-
-
-
Method Detail
-
getCacheProvider
public Class<?> getCacheProvider()
org.omnifaces.CACHE_PROVIDER.
-
getDefaultcache
public String getDefaultcache()
org.omnifaces.defaultcache.
-
getExceptionTypesToUnwrap
public List<Class<? extends Throwable>> getExceptionTypesToUnwrap()
org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.
-
getFacesViewsDispatchMethod
public String getFacesViewsDispatchMethod()
org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.
-
getFacesViewsEnabled
public Boolean getFacesViewsEnabled()
org.omnifaces.FACES_VIEWS_ENABLED.
-
getFacesViewsExtensionAction
public String getFacesViewsExtensionAction()
org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.
-
getFacesViewsFilterAfterDeclaredFilters
public String getFacesViewsFilterAfterDeclaredFilters()
org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.
-
getFacesViewsPathAction
public String getFacesViewsPathAction()
org.omnifaces.FACES_VIEWS_PATH_ACTION.
-
getFacesViewsScanPaths
public List<String> getFacesViewsScanPaths()
List of paths that are to be scanned by faces views.
-
getFacesViewsScannedViewsAlwaysExtensionless
public Boolean getFacesViewsScannedViewsAlwaysExtensionless()
org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.
-
getFacesViewsViewHandlerMode
public String getFacesViewsViewHandlerMode()
org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.
-
getHtml5RenderKitPassthroughAttributes
public String getHtml5RenderKitPassthroughAttributes()
org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.
-
getCdnResourceHandlerDisabled
public Boolean getCdnResourceHandlerDisabled()
org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.
-
getCdnResourceHandlerUrls
public String getCdnResourceHandlerUrls()
org.omnifaces.CDN_RESOURCE_HANDLER_URLS.
-
getCombinedResourceHandlerCacheTtl
public Integer 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.
-
getCombinedResourceHandlerDisabled
public Boolean getCombinedResourceHandlerDisabled()
org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.
-
getCombinedResourceHandlerExcludedResources
public List<String> getCombinedResourceHandlerExcludedResources()
List of resource identifiers of<h:head>resources which needs to be excluded from combining.
-
getCombinedResourceHandlerInlineCss
public Boolean getCombinedResourceHandlerInlineCss()
Set totrueif you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.
-
getCombinedResourceHandlerInlineJs
public Boolean getCombinedResourceHandlerInlineJs()
Set totrueif you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.
-
getCombinedResourceHandlerSuppressedResources
public List<String> getCombinedResourceHandlerSuppressedResources()
List of resource identifiers of<h:head>resources which needs to be suppressed and removed.
-
getCacheSettingApplicationMaxCapacity
public Integer getCacheSettingApplicationMaxCapacity()
Sets the maximum number of elements that will be stored per web module (application scope). Default: no limit
-
getCacheSettingApplicationTtl
public Integer 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.
-
getCacheSettingSessionMaxCapacity
public Integer getCacheSettingSessionMaxCapacity()
Sets the maximum number of elements that will be stored per session. Default: no limit.
-
getCacheSettingSessionTtl
public Integer 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.
-
getCacheInstallBufferFilter
public Boolean 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
public void setCacheProvider(Class<?> cacheProvider)
org.omnifaces.CACHE_PROVIDER.
-
setDefaultcache
public void setDefaultcache(String defaultcache)
org.omnifaces.defaultcache.
-
setExceptionTypesToUnwrap
public void setExceptionTypesToUnwrap(List<Class<? extends Throwable>> exceptionTypesToUnwrap)
org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.
-
setFacesViewsDispatchMethod
public void setFacesViewsDispatchMethod(String facesViewsDispatchMethod)
org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.
-
setFacesViewsEnabled
public void setFacesViewsEnabled(Boolean facesViewsEnabled)
org.omnifaces.FACES_VIEWS_ENABLED.
-
setFacesViewsExtensionAction
public void setFacesViewsExtensionAction(String facesViewsExtensionAction)
org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.
-
setFacesViewsFilterAfterDeclaredFilters
public void setFacesViewsFilterAfterDeclaredFilters(String facesViewsFilterAfterDeclaredFilters)
org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.
-
setFacesViewsPathAction
public void setFacesViewsPathAction(String facesViewsPathAction)
org.omnifaces.FACES_VIEWS_PATH_ACTION.
-
setFacesViewsScanPaths
public void setFacesViewsScanPaths(List<String> facesViewsScanPaths)
List of paths that are to be scanned by faces views.
-
setFacesViewsScannedViewsAlwaysExtensionless
public void setFacesViewsScannedViewsAlwaysExtensionless(Boolean facesViewsScannedViewsAlwaysExtensionless)
org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.
-
setFacesViewsViewHandlerMode
public void setFacesViewsViewHandlerMode(String facesViewsViewHandlerMode)
org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.
-
setHtml5RenderKitPassthroughAttributes
public void setHtml5RenderKitPassthroughAttributes(String html5RenderKitPassthroughAttributes)
org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.
-
setCdnResourceHandlerDisabled
public void setCdnResourceHandlerDisabled(Boolean cdnResourceHandlerDisabled)
org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.
-
setCdnResourceHandlerUrls
public void setCdnResourceHandlerUrls(String cdnResourceHandlerUrls)
org.omnifaces.CDN_RESOURCE_HANDLER_URLS.
-
setCombinedResourceHandlerCacheTtl
public void setCombinedResourceHandlerCacheTtl(Integer combinedResourceHandlerCacheTtl)
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.
-
setCombinedResourceHandlerDisabled
public void setCombinedResourceHandlerDisabled(Boolean combinedResourceHandlerDisabled)
org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.
-
setCombinedResourceHandlerExcludedResources
public void setCombinedResourceHandlerExcludedResources(List<String> combinedResourceHandlerExcludedResources)
List of resource identifiers of<h:head>resources which needs to be excluded from combining.
-
setCombinedResourceHandlerInlineCss
public void setCombinedResourceHandlerInlineCss(Boolean combinedResourceHandlerInlineCss)
Set totrueif you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.
-
setCombinedResourceHandlerInlineJs
public void setCombinedResourceHandlerInlineJs(Boolean combinedResourceHandlerInlineJs)
Set totrueif you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.
-
setCombinedResourceHandlerSuppressedResources
public void setCombinedResourceHandlerSuppressedResources(List<String> combinedResourceHandlerSuppressedResources)
List of resource identifiers of<h:head>resources which needs to be suppressed and removed.
-
setCacheSettingApplicationMaxCapacity
public void setCacheSettingApplicationMaxCapacity(Integer cacheSettingApplicationMaxCapacity)
Sets the maximum number of elements that will be stored per web module (application scope). Default: no limit
-
setCacheSettingApplicationTtl
public void setCacheSettingApplicationTtl(Integer cacheSettingApplicationTtl)
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.
-
setCacheSettingSessionMaxCapacity
public void setCacheSettingSessionMaxCapacity(Integer cacheSettingSessionMaxCapacity)
Sets the maximum number of elements that will be stored per session. Default: no limit.
-
setCacheSettingSessionTtl
public void setCacheSettingSessionTtl(Integer cacheSettingSessionTtl)
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.
-
setCacheInstallBufferFilter
public void setCacheInstallBufferFilter(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. 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.
-
canEqual
protected boolean canEqual(Object other)
-
-