Klasse OmnifacesProperties
java.lang.Object
org.joinfaces.autoconfigure.omnifaces.OmnifacesProperties
- Alle implementierten Schnittstellen:
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
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean
boolean
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
<? extends 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 totrue
if you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.Set totrue
if 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.int
hashCode()
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.void
setCacheProvider
(Class<? extends CacheProvider> cacheProvider) org.omnifaces.CACHE_PROVIDER.void
setCacheSettingApplicationMaxCapacity
(Integer cacheSettingApplicationMaxCapacity) Sets the maximum number of elements that will be stored per web module (application scope).void
setCacheSettingApplicationTtl
(Duration cacheSettingApplicationTtl) Sets the maximum amount of time in seconds that cached content is valid for the application scope.void
setCacheSettingSessionMaxCapacity
(Integer cacheSettingSessionMaxCapacity) Sets the maximum number of elements that will be stored per session.void
setCacheSettingSessionTtl
(Duration cacheSettingSessionTtl) Sets the maximum amount of time in seconds that cached content is valid for the session scope.void
setCdnResourceHandlerDisabled
(Boolean cdnResourceHandlerDisabled) org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.void
setCdnResourceHandlerUrls
(String cdnResourceHandlerUrls) org.omnifaces.CDN_RESOURCE_HANDLER_URLS.void
setCombinedResourceHandlerCacheTtl
(Duration combinedResourceHandlerCacheTtl) Set with a value greater than 0 to activate server-side caching of the combined resource files.void
setCombinedResourceHandlerDisabled
(Boolean combinedResourceHandlerDisabled) org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.void
setCombinedResourceHandlerExcludedResources
(List<String> combinedResourceHandlerExcludedResources) List of resource identifiers of<h:head>
resources which needs to be excluded from combining.void
setCombinedResourceHandlerInlineCss
(Boolean combinedResourceHandlerInlineCss) Set totrue
if you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.void
setCombinedResourceHandlerInlineJs
(Boolean combinedResourceHandlerInlineJs) Set totrue
if you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.void
setCombinedResourceHandlerSuppressedResources
(List<String> combinedResourceHandlerSuppressedResources) List of resource identifiers of<h:head>
resources which needs to be suppressed and removed.void
setDefaultcache
(String defaultcache) org.omnifaces.defaultcache.void
setExceptionTypesToUnwrap
(List<Class<? extends Throwable>> exceptionTypesToUnwrap) org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.void
setFacesViewsDispatchMethod
(String facesViewsDispatchMethod) org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.void
setFacesViewsEnabled
(Boolean facesViewsEnabled) org.omnifaces.FACES_VIEWS_ENABLED.void
setFacesViewsExtensionAction
(String facesViewsExtensionAction) org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.void
setFacesViewsFilterAfterDeclaredFilters
(String facesViewsFilterAfterDeclaredFilters) org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.void
setFacesViewsPathAction
(String facesViewsPathAction) org.omnifaces.FACES_VIEWS_PATH_ACTION.void
setFacesViewsScannedViewsAlwaysExtensionless
(Boolean facesViewsScannedViewsAlwaysExtensionless) org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.void
setFacesViewsScanPaths
(List<String> facesViewsScanPaths) List of paths that are to be scanned by faces views.void
setFacesViewsViewHandlerMode
(String facesViewsViewHandlerMode) org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.void
setHtml5RenderKitPassthroughAttributes
(String html5RenderKitPassthroughAttributes) org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.toString()
-
Konstruktordetails
-
OmnifacesProperties
public OmnifacesProperties()
-
-
Methodendetails
-
getCacheProvider
org.omnifaces.CACHE_PROVIDER.- Siehe auch:
-
getDefaultcache
org.omnifaces.defaultcache.- Siehe auch:
-
getExceptionTypesToUnwrap
org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.- Siehe auch:
-
getFacesViewsDispatchMethod
org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.- Siehe auch:
-
getFacesViewsEnabled
org.omnifaces.FACES_VIEWS_ENABLED.- Siehe auch:
-
getFacesViewsExtensionAction
org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.- Siehe auch:
-
getFacesViewsFilterAfterDeclaredFilters
org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.- Siehe auch:
-
getFacesViewsPathAction
org.omnifaces.FACES_VIEWS_PATH_ACTION.- Siehe auch:
-
getFacesViewsScanPaths
List of paths that are to be scanned by faces views.- Siehe auch:
-
getFacesViewsScannedViewsAlwaysExtensionless
org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.- Siehe auch:
-
getFacesViewsViewHandlerMode
org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.- Siehe auch:
-
getHtml5RenderKitPassthroughAttributes
org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.- Siehe auch:
-
getCdnResourceHandlerDisabled
org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.- Siehe auch:
-
getCdnResourceHandlerUrls
org.omnifaces.CDN_RESOURCE_HANDLER_URLS.- Siehe auch:
-
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
.- Siehe auch:
-
getCombinedResourceHandlerDisabled
org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.- Siehe auch:
-
getCombinedResourceHandlerExcludedResources
List of resource identifiers of<h:head>
resources which needs to be excluded from combining.- Siehe auch:
-
getCombinedResourceHandlerInlineCss
Set totrue
if you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.- Siehe auch:
-
getCombinedResourceHandlerInlineJs
Set totrue
if you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.- Siehe auch:
-
getCombinedResourceHandlerSuppressedResources
List of resource identifiers of<h:head>
resources which needs to be suppressed and removed.- Siehe auch:
-
getCacheSettingApplicationMaxCapacity
Sets the maximum number of elements that will be stored per web module (application scope). Default: no limit- Siehe auch:
-
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.- Siehe auch:
-
getCacheSettingSessionMaxCapacity
Sets the maximum number of elements that will be stored per session. Default: no limit.- Siehe auch:
-
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.- Siehe auch:
-
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 theBufferedHttpServletResponse
filter 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.- Siehe auch:
-
setDefaultcache
org.omnifaces.defaultcache.- Siehe auch:
-
setExceptionTypesToUnwrap
org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.- Siehe auch:
-
setFacesViewsDispatchMethod
org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.- Siehe auch:
-
setFacesViewsEnabled
org.omnifaces.FACES_VIEWS_ENABLED.- Siehe auch:
-
setFacesViewsExtensionAction
org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.- Siehe auch:
-
setFacesViewsFilterAfterDeclaredFilters
org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.- Siehe auch:
-
setFacesViewsPathAction
org.omnifaces.FACES_VIEWS_PATH_ACTION.- Siehe auch:
-
setFacesViewsScanPaths
List of paths that are to be scanned by faces views.- Siehe auch:
-
setFacesViewsScannedViewsAlwaysExtensionless
public void setFacesViewsScannedViewsAlwaysExtensionless(Boolean facesViewsScannedViewsAlwaysExtensionless) org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.- Siehe auch:
-
setFacesViewsViewHandlerMode
org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.- Siehe auch:
-
setHtml5RenderKitPassthroughAttributes
org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.- Siehe auch:
-
setCdnResourceHandlerDisabled
org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.- Siehe auch:
-
setCdnResourceHandlerUrls
org.omnifaces.CDN_RESOURCE_HANDLER_URLS.- Siehe auch:
-
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
.- Siehe auch:
-
setCombinedResourceHandlerDisabled
org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.- Siehe auch:
-
setCombinedResourceHandlerExcludedResources
public void setCombinedResourceHandlerExcludedResources(List<String> combinedResourceHandlerExcludedResources) List of resource identifiers of<h:head>
resources which needs to be excluded from combining.- Siehe auch:
-
setCombinedResourceHandlerInlineCss
Set totrue
if you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.- Siehe auch:
-
setCombinedResourceHandlerInlineJs
Set totrue
if you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.- Siehe auch:
-
setCombinedResourceHandlerSuppressedResources
public void setCombinedResourceHandlerSuppressedResources(List<String> combinedResourceHandlerSuppressedResources) List of resource identifiers of<h:head>
resources which needs to be suppressed and removed.- Siehe auch:
-
setCacheSettingApplicationMaxCapacity
Sets the maximum number of elements that will be stored per web module (application scope). Default: no limit- Siehe auch:
-
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.- Siehe auch:
-
setCacheSettingSessionMaxCapacity
Sets the maximum number of elements that will be stored per session. Default: no limit.- Siehe auch:
-
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.- Siehe auch:
-
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 theBufferedHttpServletResponse
filter 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
-