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
  • Konstruktordetails

    • OmnifacesProperties

      public OmnifacesProperties()
  • Methodendetails

    • getCacheProvider

      public Class<? extends CacheProvider> getCacheProvider()
      org.omnifaces.CACHE_PROVIDER.
      Siehe auch:
    • getDefaultcache

      public String getDefaultcache()
      org.omnifaces.defaultcache.
      Siehe auch:
    • getExceptionTypesToUnwrap

      public List<Class<? extends Throwable>> getExceptionTypesToUnwrap()
      org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.
      Siehe auch:
    • getFacesViewsDispatchMethod

      public String getFacesViewsDispatchMethod()
      org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.
      Siehe auch:
      • Ungültige Referenz
        FacesViews#FACES_VIEWS_DISPATCH_METHOD_PARAM_NAME
    • getFacesViewsEnabled

      public Boolean getFacesViewsEnabled()
      org.omnifaces.FACES_VIEWS_ENABLED.
      Siehe auch:
    • getFacesViewsExtensionAction

      public String getFacesViewsExtensionAction()
      org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.
      Siehe auch:
    • getFacesViewsFilterAfterDeclaredFilters

      public String getFacesViewsFilterAfterDeclaredFilters()
      org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.
      Siehe auch:
    • getFacesViewsPathAction

      public String getFacesViewsPathAction()
      org.omnifaces.FACES_VIEWS_PATH_ACTION.
      Siehe auch:
    • getFacesViewsScanPaths

      public List<String> getFacesViewsScanPaths()
      List of paths that are to be scanned by faces views.
      Siehe auch:
    • getFacesViewsScannedViewsAlwaysExtensionless

      public Boolean getFacesViewsScannedViewsAlwaysExtensionless()
      org.omnifaces.FACES_VIEWS_SCANNED_VIEWS_ALWAYS_EXTENSIONLESS.
      Siehe auch:
    • getFacesViewsViewHandlerMode

      public String getFacesViewsViewHandlerMode()
      org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.
      Siehe auch:
      • Ungültige Referenz
        FacesViews#FACES_VIEWS_VIEW_HANDLER_MODE_PARAM_NAME
    • getHtml5RenderKitPassthroughAttributes

      public String getHtml5RenderKitPassthroughAttributes()
      org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.
      Siehe auch:
      • Ungültige Referenz
        Html5RenderKit#PARAM_NAME_PASSTHROUGH_ATTRIBUTES
    • getCdnResourceHandlerDisabled

      public Boolean getCdnResourceHandlerDisabled()
      org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.
      Siehe auch:
    • getCdnResourceHandlerUrls

      public String getCdnResourceHandlerUrls()
      org.omnifaces.CDN_RESOURCE_HANDLER_URLS.
      Siehe auch:
    • getCombinedResourceHandlerCacheTtl

      public Duration 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 to Development.
      Siehe auch:
    • getCombinedResourceHandlerDisabled

      public Boolean getCombinedResourceHandlerDisabled()
      org.omnifaces.COMBINED_RESOURCE_HANDLER_DISABLED.
      Siehe auch:
    • getCombinedResourceHandlerExcludedResources

      public List<String> getCombinedResourceHandlerExcludedResources()
      List of resource identifiers of <h:head> resources which needs to be excluded from combining.
      Siehe auch:
    • getCombinedResourceHandlerInlineCss

      public Boolean getCombinedResourceHandlerInlineCss()
      Set to true if you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.
      Siehe auch:
    • getCombinedResourceHandlerInlineJs

      public Boolean getCombinedResourceHandlerInlineJs()
      Set to true if you want to render the combined JS resources inline (embedded in HTML) instead of as a resource.
      Siehe auch:
    • getCombinedResourceHandlerSuppressedResources

      public List<String> getCombinedResourceHandlerSuppressedResources()
      List of resource identifiers of <h:head> resources which needs to be suppressed and removed.
      Siehe auch:
    • getCacheSettingApplicationMaxCapacity

      public Integer getCacheSettingApplicationMaxCapacity()
      Sets the maximum number of elements that will be stored per web module (application scope). Default: no limit
      Siehe auch:
    • getCacheSettingApplicationTtl

      public Duration 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

      public Integer getCacheSettingSessionMaxCapacity()
      Sets the maximum number of elements that will be stored per session. Default: no limit.
      Siehe auch:
    • getCacheSettingSessionTtl

      public Duration 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

      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 the BufferedHttpServletResponse 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

      public void setCacheProvider(Class<? extends CacheProvider> cacheProvider)
      org.omnifaces.CACHE_PROVIDER.
      Siehe auch:
    • setDefaultcache

      public void setDefaultcache(String defaultcache)
      org.omnifaces.defaultcache.
      Siehe auch:
    • setExceptionTypesToUnwrap

      public void setExceptionTypesToUnwrap(List<Class<? extends Throwable>> exceptionTypesToUnwrap)
      org.omnifaces.EXCEPTION_TYPES_TO_UNWRAP.
      Siehe auch:
    • setFacesViewsDispatchMethod

      public void setFacesViewsDispatchMethod(String facesViewsDispatchMethod)
      org.omnifaces.FACES_VIEWS_DISPATCH_METHOD.
      Siehe auch:
      • Ungültige Referenz
        FacesViews#FACES_VIEWS_DISPATCH_METHOD_PARAM_NAME
    • setFacesViewsEnabled

      public void setFacesViewsEnabled(Boolean facesViewsEnabled)
      org.omnifaces.FACES_VIEWS_ENABLED.
      Siehe auch:
    • setFacesViewsExtensionAction

      public void setFacesViewsExtensionAction(String facesViewsExtensionAction)
      org.omnifaces.FACES_VIEWS_EXTENSION_ACTION.
      Siehe auch:
    • setFacesViewsFilterAfterDeclaredFilters

      public void setFacesViewsFilterAfterDeclaredFilters(String facesViewsFilterAfterDeclaredFilters)
      org.omnifaces.FACES_VIEWS_FILTER_AFTER_DECLARED_FILTERS.
      Siehe auch:
    • setFacesViewsPathAction

      public void setFacesViewsPathAction(String facesViewsPathAction)
      org.omnifaces.FACES_VIEWS_PATH_ACTION.
      Siehe auch:
    • setFacesViewsScanPaths

      public void setFacesViewsScanPaths(List<String> facesViewsScanPaths)
      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

      public void setFacesViewsViewHandlerMode(String facesViewsViewHandlerMode)
      org.omnifaces.FACES_VIEWS_VIEW_HANDLER_MODE.
      Siehe auch:
      • Ungültige Referenz
        FacesViews#FACES_VIEWS_VIEW_HANDLER_MODE_PARAM_NAME
    • setHtml5RenderKitPassthroughAttributes

      public void setHtml5RenderKitPassthroughAttributes(String html5RenderKitPassthroughAttributes)
      org.omnifaces.HTML5_RENDER_KIT_PASSTHROUGH_ATTRIBUTES.
      Siehe auch:
      • Ungültige Referenz
        Html5RenderKit#PARAM_NAME_PASSTHROUGH_ATTRIBUTES
    • setCdnResourceHandlerDisabled

      public void setCdnResourceHandlerDisabled(Boolean cdnResourceHandlerDisabled)
      org.omnifaces.CDN_RESOURCE_HANDLER_DISABLED.
      Siehe auch:
    • setCdnResourceHandlerUrls

      public void setCdnResourceHandlerUrls(String cdnResourceHandlerUrls)
      org.omnifaces.CDN_RESOURCE_HANDLER_URLS.
      Siehe auch:
    • setCombinedResourceHandlerCacheTtl

      public void setCombinedResourceHandlerCacheTtl(Duration 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 to Development.
      Siehe auch:
    • setCombinedResourceHandlerDisabled

      public void setCombinedResourceHandlerDisabled(Boolean combinedResourceHandlerDisabled)
      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

      public void setCombinedResourceHandlerInlineCss(Boolean combinedResourceHandlerInlineCss)
      Set to true if you want to render the combined CSS resources inline (embedded in HTML) instead of as a resource.
      Siehe auch:
    • setCombinedResourceHandlerInlineJs

      public void setCombinedResourceHandlerInlineJs(Boolean combinedResourceHandlerInlineJs)
      Set to true 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

      public void setCacheSettingApplicationMaxCapacity(Integer cacheSettingApplicationMaxCapacity)
      Sets the maximum number of elements that will be stored per web module (application scope). Default: no limit
      Siehe auch:
    • setCacheSettingApplicationTtl

      public void setCacheSettingApplicationTtl(Duration 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.
      Siehe auch:
    • setCacheSettingSessionMaxCapacity

      public void setCacheSettingSessionMaxCapacity(Integer cacheSettingSessionMaxCapacity)
      Sets the maximum number of elements that will be stored per session. Default: no limit.
      Siehe auch:
    • setCacheSettingSessionTtl

      public void setCacheSettingSessionTtl(Duration 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.
      Siehe auch:
    • 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 the BufferedHttpServletResponse 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

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object