Class MojarraProperties

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getAllowedHttpMethods()
      A white space separated list of case sensitive HTTP method names that are allowed to be processed by this servlet.
      java.lang.Boolean getAllowTextChildren()
      If true, allow children of h:inputText and h:outputText to be rendered.
      java.lang.String getAnnotationScanPackages()
      The value of this context init parameter is a whitespace separated list of values that control which class packages are scanned for javax.faces annotations.
      java.lang.Boolean getAutoCompleteOffOnViewState()
      If false, don't use autocomplete="off" on view state hidden input field.
      java.lang.Boolean getCacheResourceModificationTimestamp()
      If true, cache the modification time of the resource and use the cached time to tell if the resource needs to be refreshed.
      java.lang.Integer getClientStateTimeout()
      Maximum time, in seconds, that client state will be considered valid by the default StateManager/ResponseStateManager implementations.
      java.lang.Integer getClientStateWriteBufferSize()
      The size, in bytes, of the buffer that is used to write client state.
      java.lang.String getCompressableMimeTypes()
      Specify mime types that should be gzip compressed.
      java.lang.Boolean getCompressJavaScript()
      If true, then the JavaScript rendered by h:commandLink will be compressed to reduce the amount of whitespace transmitted in the response.
      java.lang.Boolean getCompressViewState()
      When true, the view is compressed after it is serialized and before base64 encoded.
      java.lang.Integer getDefaultResourceMaxAge()
      This affects the value of the Expires response header that will be sent for a resource.
      java.lang.Boolean getDisableClientStateEncryption()
      Since Mojarra 2.2, the client state is by default always encrypted.
      java.lang.Boolean getDisableIdUniquenessCheck()
      If true, then component ID uniqueness won't be checked if ProjectStage is Production to enhance performance.
      java.lang.String getDisableUnicodeEscaping()
      By default any characters above a certain range will be escaped as either an HTML entity or a decimal reference.
      java.lang.Boolean getDisableVersionTracking()
      Javadoc not found.
      java.lang.Boolean getDisallowDoctypeDecl()
      When this context param is set to true, this would set a feature on the SAX parser to disallow DOCTYPE declarations.
      java.lang.Boolean getDisplayConfiguration()
      If true then all web configuration information (context initialization parameters and environment entries) will be written to the log.
      java.lang.String getDuplicateJARPattern()
      Javadoc not found.
      java.lang.Boolean getEnableAgressiveSessionDirtying()
      If true, makes it so every session attribute is touched in for every request through the lifecycle.
      java.lang.Boolean getEnableClientStateDebugging()
      When true, the client state will as test be unserialized before writing and any serialization exceptions will be logged aInteger with a debug path to the cause of the serialization error.
      java.lang.Boolean getEnableCoreTagLibValidator()
      When true, enable validation of standard Core TagLibs, at the expense of a slightly slower start time.
      java.lang.Boolean getEnableDistributable()
      If true, signal JSF that the application is deployed to a clustered environment, so that session dirtying will be explicitly performed, hereby forcing session replication.
      java.lang.Boolean getEnabledJsStyleHiding()
      If true, inlined JavaScript rendered by the HTML ResponseWriter implementation will be rendered so that the script is hidden from older browser implementations which does not recognize <script/> elements.
      java.lang.Boolean getEnabledLoadBundle11Compatibility()
      Javadoc not found.
      java.lang.Boolean getEnableFaceletsResourceResolverCompositeComponents()
      See issue 3684 for details.
      java.lang.Boolean getEnableGroovyScripting()
      Javadoc not found.
      java.lang.Boolean getEnableHtmlTagLibValidator()
      When true, enable validation of standard Html TagLibs, at the expense of a slightly slower start time.
      java.lang.Boolean getEnableHttpMethodRestrictionPhaseListener()
      add the HttpMethodRestrictionPhaseListener if the parameter is enabled.
      java.lang.Boolean getEnableJSStyleHiding()
      Javadoc not found.
      java.lang.Boolean getEnableLazyBeanValidation()
      When true, managed beans will be validated when first created.
      java.lang.Boolean getEnableMissingResourceLibraryDetection()
      If enabled, the runtime will check for the existence of a resource library before checking for the resource itself.
      java.lang.Boolean getEnableRestoreView11Compatibility()
      Javadoc not found.
      java.lang.Boolean getEnableScriptsInAttributeValues()
      If false, attribute values with javascript: or script: will not be rendered within attribute values to prevent potential XSS attacks.
      java.lang.Boolean getEnableThreading()
      When enabled, the runtime initialization and default ResourceHandler implementation will use threads to perform their functions.
      java.lang.Boolean getEnableTransitionTimeNoOpFlash()
      If true, the act of calling getExternalContext().getFlash() on the FacesContext at startup or shutdown time will cause a no-op implementation of the Flash to be returned.
      java.lang.Boolean getEnableViewStateIdRendering()
      If true, the view state hidden field will be rendered with both the id and name attributes having the value of "javax.faces.ViewState".
      java.lang.Class<? extends ExpressionFactory> getExpressionFactory()
      This parameter specifies a class that implements the ExpressionFactory.
      java.lang.String getFaceletCache()
      Javadoc not found.
      java.lang.Class<?> getFaceletFactory()
      The value of this option is a fully qualfified class that extends the com.sun.faces.facelets.FaceletFactory abstract class.
      java.lang.String getFaceletsProcessingFileExtensionProcessAs()
      Javadoc not found.
      java.lang.Boolean getForceAlwaysWriteFlashCookie()
      If true, then the flash cookie will always be written, regardless of whether or not the flash has data.
      java.lang.Boolean getForceLoadConfiguration()
      There is a chance for an NPE in com.sun.faces.application.WebappLifecycleListener with some configurations.
      java.lang.Boolean getGenerateUniqueServerStateIds()
      If true, generate random server view state ids.
      java.lang.Class<? extends com.sun.faces.spi.InjectionProvider> getInjectionProvider()
      This parameter specifies a class that implements the InjectionProvider.
      java.lang.String getManagedBeanFactoryDecorator()
      Javadoc not found.
      java.lang.Boolean getNamespaceParameters()
      If true, then view state hidden field is namespaced according to NamingContainer rules.
      java.lang.Integer getNumberOfConcurrentFlashUsers()
      Number of concurrent flash users.
      java.lang.Integer getNumberOfFlashesBetweenFlashReapings()
      Number flashes between flash repaings.
      java.lang.Integer getNumberOfLogicalViews()
      Defines the maximum number of serialized views stored in the session.
      java.lang.Integer getNumberOfViewsInSession()
      Definies the maximum number of serialized logical views per view.
      java.lang.Boolean getPreferXhtml()
      For the case where a browser supports XHTML and HTML without a quality.
      java.lang.Boolean getRegisterConverterPropertyEditors()
      If true, allow EL Coercion to use JSF Custom converters.
      java.lang.Integer getResourceUpdateCheckPeriod()
      When javax.faces.PROJECT_STATE is Production, UnitTest, or SystemTest resource paths will be cached to reduce the overhead of resource path compuation.
      java.lang.Integer getResponseBufferSize()
      This parameter specifies the size, in bytes, of the buffer that is used to write all generated JSP content excluding state.
      java.lang.Boolean getSendPoweredByHeader()
      The servlet specification defines an optional header that can be sent by a container to communicate the version of the JSP/Servlet the response was generated by.
      java.lang.Class<? extends com.sun.faces.spi.SerializationProvider> getSerializationProvider()
      This parameter specifies a class that implements the SerializationProvider SPI.
      java.lang.Boolean getSerializeServerState()
      If enabled the component state (not the tree) will be serialized before being stored in the session.
      java.lang.Boolean getValidateXml()
      When true, enable validation of faces-config.xml files, at the expense of a slightly slower start time.
      java.lang.Boolean getVerifyObjects()
      When true, JSF makes during startup sure all that registered managed beans components, validators, etc can be instantiated by the runtime, at the expense of a slightly slower start time.
      java.lang.Boolean getWriteStateAtFormEnd()
      Per the renderkit doc specification, the state information for the view will be written out prior to closing the form tag.
      int hashCode()  
      void setAllowedHttpMethods​(java.lang.String allowedHttpMethods)
      A white space separated list of case sensitive HTTP method names that are allowed to be processed by this servlet.
      void setAllowTextChildren​(java.lang.Boolean allowTextChildren)
      If true, allow children of h:inputText and h:outputText to be rendered.
      void setAnnotationScanPackages​(java.lang.String annotationScanPackages)
      The value of this context init parameter is a whitespace separated list of values that control which class packages are scanned for javax.faces annotations.
      void setAutoCompleteOffOnViewState​(java.lang.Boolean autoCompleteOffOnViewState)
      If false, don't use autocomplete="off" on view state hidden input field.
      void setCacheResourceModificationTimestamp​(java.lang.Boolean cacheResourceModificationTimestamp)
      If true, cache the modification time of the resource and use the cached time to tell if the resource needs to be refreshed.
      void setClientStateTimeout​(java.lang.Integer clientStateTimeout)
      Maximum time, in seconds, that client state will be considered valid by the default StateManager/ResponseStateManager implementations.
      void setClientStateWriteBufferSize​(java.lang.Integer clientStateWriteBufferSize)
      The size, in bytes, of the buffer that is used to write client state.
      void setCompressableMimeTypes​(java.lang.String compressableMimeTypes)
      Specify mime types that should be gzip compressed.
      void setCompressJavaScript​(java.lang.Boolean compressJavaScript)
      If true, then the JavaScript rendered by h:commandLink will be compressed to reduce the amount of whitespace transmitted in the response.
      void setCompressViewState​(java.lang.Boolean compressViewState)
      When true, the view is compressed after it is serialized and before base64 encoded.
      void setDefaultResourceMaxAge​(java.lang.Integer defaultResourceMaxAge)
      This affects the value of the Expires response header that will be sent for a resource.
      void setDisableClientStateEncryption​(java.lang.Boolean disableClientStateEncryption)
      Since Mojarra 2.2, the client state is by default always encrypted.
      void setDisableIdUniquenessCheck​(java.lang.Boolean disableIdUniquenessCheck)
      If true, then component ID uniqueness won't be checked if ProjectStage is Production to enhance performance.
      void setDisableUnicodeEscaping​(java.lang.String disableUnicodeEscaping)
      By default any characters above a certain range will be escaped as either an HTML entity or a decimal reference.
      void setDisableVersionTracking​(java.lang.Boolean disableVersionTracking)
      Javadoc not found.
      void setDisallowDoctypeDecl​(java.lang.Boolean disallowDoctypeDecl)
      When this context param is set to true, this would set a feature on the SAX parser to disallow DOCTYPE declarations.
      void setDisplayConfiguration​(java.lang.Boolean displayConfiguration)
      If true then all web configuration information (context initialization parameters and environment entries) will be written to the log.
      void setDuplicateJARPattern​(java.lang.String duplicateJARPattern)
      Javadoc not found.
      void setEnableAgressiveSessionDirtying​(java.lang.Boolean enableAgressiveSessionDirtying)
      If true, makes it so every session attribute is touched in for every request through the lifecycle.
      void setEnableClientStateDebugging​(java.lang.Boolean enableClientStateDebugging)
      When true, the client state will as test be unserialized before writing and any serialization exceptions will be logged aInteger with a debug path to the cause of the serialization error.
      void setEnableCoreTagLibValidator​(java.lang.Boolean enableCoreTagLibValidator)
      When true, enable validation of standard Core TagLibs, at the expense of a slightly slower start time.
      void setEnableDistributable​(java.lang.Boolean enableDistributable)
      If true, signal JSF that the application is deployed to a clustered environment, so that session dirtying will be explicitly performed, hereby forcing session replication.
      void setEnabledJsStyleHiding​(java.lang.Boolean enabledJsStyleHiding)
      If true, inlined JavaScript rendered by the HTML ResponseWriter implementation will be rendered so that the script is hidden from older browser implementations which does not recognize <script/> elements.
      void setEnabledLoadBundle11Compatibility​(java.lang.Boolean enabledLoadBundle11Compatibility)
      Javadoc not found.
      void setEnableFaceletsResourceResolverCompositeComponents​(java.lang.Boolean enableFaceletsResourceResolverCompositeComponents)
      See issue 3684 for details.
      void setEnableGroovyScripting​(java.lang.Boolean enableGroovyScripting)
      Javadoc not found.
      void setEnableHtmlTagLibValidator​(java.lang.Boolean enableHtmlTagLibValidator)
      When true, enable validation of standard Html TagLibs, at the expense of a slightly slower start time.
      void setEnableHttpMethodRestrictionPhaseListener​(java.lang.Boolean enableHttpMethodRestrictionPhaseListener)
      add the HttpMethodRestrictionPhaseListener if the parameter is enabled.
      void setEnableJSStyleHiding​(java.lang.Boolean enableJSStyleHiding)
      Javadoc not found.
      void setEnableLazyBeanValidation​(java.lang.Boolean enableLazyBeanValidation)
      When true, managed beans will be validated when first created.
      void setEnableMissingResourceLibraryDetection​(java.lang.Boolean enableMissingResourceLibraryDetection)
      If enabled, the runtime will check for the existence of a resource library before checking for the resource itself.
      void setEnableRestoreView11Compatibility​(java.lang.Boolean enableRestoreView11Compatibility)
      Javadoc not found.
      void setEnableScriptsInAttributeValues​(java.lang.Boolean enableScriptsInAttributeValues)
      If false, attribute values with javascript: or script: will not be rendered within attribute values to prevent potential XSS attacks.
      void setEnableThreading​(java.lang.Boolean enableThreading)
      When enabled, the runtime initialization and default ResourceHandler implementation will use threads to perform their functions.
      void setEnableTransitionTimeNoOpFlash​(java.lang.Boolean enableTransitionTimeNoOpFlash)
      If true, the act of calling getExternalContext().getFlash() on the FacesContext at startup or shutdown time will cause a no-op implementation of the Flash to be returned.
      void setEnableViewStateIdRendering​(java.lang.Boolean enableViewStateIdRendering)
      If true, the view state hidden field will be rendered with both the id and name attributes having the value of "javax.faces.ViewState".
      void setExpressionFactory​(java.lang.Class<? extends ExpressionFactory> expressionFactory)
      This parameter specifies a class that implements the ExpressionFactory.
      void setFaceletCache​(java.lang.String faceletCache)
      Javadoc not found.
      void setFaceletFactory​(java.lang.Class<?> faceletFactory)
      The value of this option is a fully qualfified class that extends the com.sun.faces.facelets.FaceletFactory abstract class.
      void setFaceletsProcessingFileExtensionProcessAs​(java.lang.String faceletsProcessingFileExtensionProcessAs)
      Javadoc not found.
      void setForceAlwaysWriteFlashCookie​(java.lang.Boolean forceAlwaysWriteFlashCookie)
      If true, then the flash cookie will always be written, regardless of whether or not the flash has data.
      void setForceLoadConfiguration​(java.lang.Boolean forceLoadConfiguration)
      There is a chance for an NPE in com.sun.faces.application.WebappLifecycleListener with some configurations.
      void setGenerateUniqueServerStateIds​(java.lang.Boolean generateUniqueServerStateIds)
      If true, generate random server view state ids.
      void setInjectionProvider​(java.lang.Class<? extends com.sun.faces.spi.InjectionProvider> injectionProvider)
      This parameter specifies a class that implements the InjectionProvider.
      void setManagedBeanFactoryDecorator​(java.lang.String managedBeanFactoryDecorator)
      Javadoc not found.
      void setNamespaceParameters​(java.lang.Boolean namespaceParameters)
      If true, then view state hidden field is namespaced according to NamingContainer rules.
      void setNumberOfConcurrentFlashUsers​(java.lang.Integer numberOfConcurrentFlashUsers)
      Number of concurrent flash users.
      void setNumberOfFlashesBetweenFlashReapings​(java.lang.Integer numberOfFlashesBetweenFlashReapings)
      Number flashes between flash repaings.
      void setNumberOfLogicalViews​(java.lang.Integer numberOfLogicalViews)
      Defines the maximum number of serialized views stored in the session.
      void setNumberOfViewsInSession​(java.lang.Integer numberOfViewsInSession)
      Definies the maximum number of serialized logical views per view.
      void setPreferXhtml​(java.lang.Boolean preferXhtml)
      For the case where a browser supports XHTML and HTML without a quality.
      void setRegisterConverterPropertyEditors​(java.lang.Boolean registerConverterPropertyEditors)
      If true, allow EL Coercion to use JSF Custom converters.
      void setResourceUpdateCheckPeriod​(java.lang.Integer resourceUpdateCheckPeriod)
      When javax.faces.PROJECT_STATE is Production, UnitTest, or SystemTest resource paths will be cached to reduce the overhead of resource path compuation.
      void setResponseBufferSize​(java.lang.Integer responseBufferSize)
      This parameter specifies the size, in bytes, of the buffer that is used to write all generated JSP content excluding state.
      void setSendPoweredByHeader​(java.lang.Boolean sendPoweredByHeader)
      The servlet specification defines an optional header that can be sent by a container to communicate the version of the JSP/Servlet the response was generated by.
      void setSerializationProvider​(java.lang.Class<? extends com.sun.faces.spi.SerializationProvider> serializationProvider)
      This parameter specifies a class that implements the SerializationProvider SPI.
      void setSerializeServerState​(java.lang.Boolean serializeServerState)
      If enabled the component state (not the tree) will be serialized before being stored in the session.
      void setValidateXml​(java.lang.Boolean validateXml)
      When true, enable validation of faces-config.xml files, at the expense of a slightly slower start time.
      void setVerifyObjects​(java.lang.Boolean verifyObjects)
      When true, JSF makes during startup sure all that registered managed beans components, validators, etc can be instantiated by the runtime, at the expense of a slightly slower start time.
      void setWriteStateAtFormEnd​(java.lang.Boolean writeStateAtFormEnd)
      Per the renderkit doc specification, the state information for the view will be written out prior to closing the form tag.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MojarraProperties

        public MojarraProperties()
    • Method Detail

      • getClientStateTimeout

        public java.lang.Integer getClientStateTimeout()
        Maximum time, in seconds, that client state will be considered valid by the default StateManager/ResponseStateManager implementations. If the time between requests exceeds the configured time, a javax.faces.application.ViewExpiredException. will be thrown. It is important to note that if this feature is enabled, and client requests are recieved with view state produced from a previous version, the ViewExpiredException will be thrown immediately.
      • getClientStateWriteBufferSize

        public java.lang.Integer getClientStateWriteBufferSize()
        The size, in bytes, of the buffer that is used to write client state. It should be noted, that the buffer used is split - half is for raw bytes, the other half is for the Base64 encoded characters of said bytes. So, for example, if the default, 8192, is used, then 4096 of that is used for the bytes, and the other 4096 is used for the Base64 encoded characters.
      • getCompressViewState

        public java.lang.Boolean getCompressViewState()
        When true, the view is compressed after it is serialized and before base64 encoded. Works with client state saving only. As of 1.2_09, this option also impacts server side state saving when com.sun.faces.serializeServerState is set to true (this has a large impact of the size of the state in the session when using this option, at the expense of more CPU of course).
      • getDisableClientStateEncryption

        public java.lang.Boolean getDisableClientStateEncryption()
        Since Mojarra 2.2, the client state is by default always encrypted. When true, the client state encryption is disabled. See also com.sun.faces.ClientStateSavingPassword - recommendations for actual password?
      • getEnableClientStateDebugging

        public java.lang.Boolean getEnableClientStateDebugging()
        When true, the client state will as test be unserialized before writing and any serialization exceptions will be logged aInteger with a debug path to the cause of the serialization error.
      • getGenerateUniqueServerStateIds

        public java.lang.Boolean getGenerateUniqueServerStateIds()
        If true, generate random server view state ids. If false, create server view state ids sequentially. This resembles closely the JSF 1.x behavior, but this is more sensitive to CSRF.
      • getNumberOfLogicalViews

        public java.lang.Integer getNumberOfLogicalViews()
        Defines the maximum number of serialized views stored in the session. Works with server state saving only (note the implementation unintentionally has swapped the meaning, as we cannot change this without breaking what people have become used to we have updated this here). See com.sun.faces.numberOfViewsInSession vs com.sun.faces.numberOfLogicalViews for detail.
      • getNumberOfViewsInSession

        public java.lang.Integer getNumberOfViewsInSession()
        Definies the maximum number of serialized logical views per view. Works with server state saving only (note the implementation unintentionally has swapped the meaning, as we cannot change this without breaking what people have become used to we have updated this here) See com.sun.faces.numberOfViewsInSession vs com.sun.faces.numberOfLogicalViews for detail.
      • getSerializeServerState

        public java.lang.Boolean getSerializeServerState()
        If enabled the component state (not the tree) will be serialized before being stored in the session. This may be desirable for applications that may have issues with view state being sensitive to model changes after state saving which are reflected back in view state. This has since JSF 2.2 been replaced by javax.faces.SERIALIZE_SERVER_STATE.
      • getWriteStateAtFormEnd

        public java.lang.Boolean getWriteStateAtFormEnd()
        Per the renderkit doc specification, the state information for the view will be written out prior to closing the form tag. However, it may be desirable to have the state information written out after the opening form tag. If this is the case, specifiy this parameter in the web.xml with a value of false.
      • getAllowTextChildren

        public java.lang.Boolean getAllowTextChildren()
        If true, allow children of h:inputText and h:outputText to be rendered. In 1.2, they would always be rendered before the value of tag. As of 2.0, children of UIInput and UIOutput components will not be rendered by the default renderer implementations. Set this option to true if this behavior is required, but note that doing so may cause issues when using Ajax. See issue 1154 for details.
      • getAutoCompleteOffOnViewState

        public java.lang.Boolean getAutoCompleteOffOnViewState()
        If false, don't use autocomplete="off" on view state hidden input field. This attribute is by default always rendered in order to fix a Firefox related bug, but it is invalid on a hidden input field as per w3 HTML validator. So, when false, then beware of the Firefox bug which may trigger "unexpected" ViewExpiredException. See issue 1129 for details.
      • getCompressJavaScript

        public java.lang.Boolean getCompressJavaScript()
        If true, then the JavaScript rendered by h:commandLink will be compressed to reduce the amount of whitespace transmitted in the response. If false then the JavaScript will be rendered to the client in a well formatted manner.
      • getDisableUnicodeEscaping

        public java.lang.String getDisableUnicodeEscaping()
        By default any characters above a certain range will be escaped as either an HTML entity or a decimal reference. This behavior is not always desirable. To allow more flexibility how content is rendered to a client, this option was introduced. Valid configuration values are: false, true, and auto with false being the default. When the option value is false, Mojarra will continue to escaped no matter the response encoding type. If the configuration value is true, Then no escaping will occur assuming that the response encoding can properly handle all characters. If the configuration option is auto then the response encoding will be checked. If the encoding is of the UTF family of encodings no unicode or html entity encoding will occur, however, if the response stream encoding is ISO-8859-1 then the ISO characters above a certain range will be encoded as HTML entities and any characters above that range will be written as decimal references.
      • getDisableIdUniquenessCheck

        public java.lang.Boolean getDisableIdUniquenessCheck()
        If true, then component ID uniqueness won't be checked if ProjectStage is Production to enhance performance. See issue 2414 for details.
      • getEnabledJsStyleHiding

        public java.lang.Boolean getEnabledJsStyleHiding()
        If true, inlined JavaScript rendered by the HTML ResponseWriter implementation will be rendered so that the script is hidden from older browser implementations which does not recognize <script/> elements.
      • getEnableScriptsInAttributeValues

        public java.lang.Boolean getEnableScriptsInAttributeValues()
        If false, attribute values with javascript: or script: will not be rendered within attribute values to prevent potential XSS attacks.
      • getEnableViewStateIdRendering

        public java.lang.Boolean getEnableViewStateIdRendering()
        If true, the view state hidden field will be rendered with both the id and name attributes having the value of "javax.faces.ViewState". This is what the spec requires, however, if there are multiple forms within a view and the response content-type is XHTML, the result will be XHTML that will fail validation due to multiple ID attributes with the same value: javax.faces.ViewState. Setting this parameter to false will result in the ID attribute not being rendered. Keep in mind however, that doing this may break integration with AJAX frameworks that get the state field via ID. See issue 433 for details.
      • getPreferXhtml

        public java.lang.Boolean getPreferXhtml()
        For the case where a browser supports XHTML and HTML without a quality. When enabled and this case occurs, then XHTML will be set as the content type. This setting is not recommended and should be only used to fix broken applications designed with XHTML output in mind instead of HTML(5) output.
      • getResponseBufferSize

        public java.lang.Integer getResponseBufferSize()
        This parameter specifies the size, in bytes, of the buffer that is used to write all generated JSP content excluding state. Note that this is ignored when Facelets is used. For Facelets, use javax.faces.FACELETS_BUFFER_SIZE instead.
      • getCacheResourceModificationTimestamp

        public java.lang.Boolean getCacheResourceModificationTimestamp()
        If true, cache the modification time of the resource and use the cached time to tell if the resource needs to be refreshed.
      • getCompressableMimeTypes

        public java.lang.String getCompressableMimeTypes()
        Specify mime types that should be gzip compressed. Mime types can be specified by their exact name (i.e. text/css) or a wildcard can be used after the slash (i.e. text/*). The resource will not be compressed on each request, instead when building the cache, the resource will be compressed to a temporary directory and those bytes will be served instead.
      • getDefaultResourceMaxAge

        public java.lang.Integer getDefaultResourceMaxAge()
        This affects the value of the Expires response header that will be sent for a resource. The logic is basically Date.getTime() + valueOf(defaultResourceManxAge). Increase this value to increase the amount of time that a Resource is valid. The value is in milliseconds (so the default value of 604800000 is 7 days).
      • getEnableFaceletsResourceResolverCompositeComponents

        public java.lang.Boolean getEnableFaceletsResourceResolverCompositeComponents()
        See issue 3684 for details.
      • getEnableMissingResourceLibraryDetection

        public java.lang.Boolean getEnableMissingResourceLibraryDetection()
        If enabled, the runtime will check for the existence of a resource library before checking for the resource itself. If not found, an appropriate error message will be included in the log and in the view if ProjectStage is Development.
      • getResourceUpdateCheckPeriod

        public java.lang.Integer getResourceUpdateCheckPeriod()
        When javax.faces.PROJECT_STATE is Production, UnitTest, or SystemTest resource paths will be cached to reduce the overhead of resource path compuation. By default, updates (i.e. new files, new directories, new versions, etc.) will be checked for every 5 minutes. If a change is detected, the cache will be cleared and rebuilt. If the value of this option is -1, the cache will never be cleared and new resources will not be picked up. The value is in minutes.
      • getEnableAgressiveSessionDirtying

        public java.lang.Boolean getEnableAgressiveSessionDirtying()
        If true, makes it so every session attribute is touched in for every request through the lifecycle. This makes it much harder to make mistakes that cause session replication to fail.
      • getEnableDistributable

        public java.lang.Boolean getEnableDistributable()
        If true, signal JSF that the application is deployed to a clustered environment, so that session dirtying will be explicitly performed, hereby forcing session replication. This is automatically true when <distributable /> entry is present in web.xml.
      • getAnnotationScanPackages

        public java.lang.String getAnnotationScanPackages()
        The value of this context init parameter is a whitespace separated list of values that control which class packages are scanned for javax.faces annotations. To restrict which jars/packages are scanned, use the following entry format: jar:'jar name':'comma separated list of packages' So an example would be: jar:a.jar:com.acme.package1,com.acme.package2.
      • getDisplayConfiguration

        public java.lang.Boolean getDisplayConfiguration()
        If true then all web configuration information (context initialization parameters and environment entries) will be written to the log. This is useful during development to confirm your application is configured as expected.
      • getEnableCoreTagLibValidator

        public java.lang.Boolean getEnableCoreTagLibValidator()
        When true, enable validation of standard Core TagLibs, at the expense of a slightly slower start time.
      • getEnableHtmlTagLibValidator

        public java.lang.Boolean getEnableHtmlTagLibValidator()
        When true, enable validation of standard Html TagLibs, at the expense of a slightly slower start time.
      • getEnableLazyBeanValidation

        public java.lang.Boolean getEnableLazyBeanValidation()
        When true, managed beans will be validated when first created. If false, managed beans will be validated when the application is started, at the expense of a slightly slower start time.
      • getEnableThreading

        public java.lang.Boolean getEnableThreading()
        When enabled, the runtime initialization and default ResourceHandler implementation will use threads to perform their functions. Set this value to false if threads aren't desired (as in the case of running within the Google Application Engine). Note that when this option is disabled, the ResourceHandler will not pick up new versions of resources when ProjectStage is development. See issue 2385 for details.
      • getForceLoadConfiguration

        public java.lang.Boolean getForceLoadConfiguration()
        There is a chance for an NPE in com.sun.faces.application.WebappLifecycleListener with some configurations. Take for example, installing JSF in a container such that JSF will be available to all web applications. The NPE will occur for an application that doesn't have the FacesServlet defined within its web.xml. The workaround for this issue is, within the global web.xml for the container (JBoss and Tomcat both have one) add either a FacesServlet definition (no mapping) or add the context init parameter, com.sun.faces.forceLoadConfiguration, with a value of true. See issue 670 for details.
      • getValidateXml

        public java.lang.Boolean getValidateXml()
        When true, enable validation of faces-config.xml files, at the expense of a slightly slower start time.
      • getVerifyObjects

        public java.lang.Boolean getVerifyObjects()
        When true, JSF makes during startup sure all that registered managed beans components, validators, etc can be instantiated by the runtime, at the expense of a slightly slower start time.
      • getEnableTransitionTimeNoOpFlash

        public java.lang.Boolean getEnableTransitionTimeNoOpFlash()
        If true, the act of calling getExternalContext().getFlash() on the FacesContext at startup or shutdown time will cause a no-op implementation of the Flash to be returned. This should prevent startup/shutdown exceptions caused by invalid/stale flash cookies. See "bugdb 17024459" for details.
      • getExpressionFactory

        public java.lang.Class<? extends ExpressionFactory> getExpressionFactory()
        This parameter specifies a class that implements the ExpressionFactory.
      • getForceAlwaysWriteFlashCookie

        public java.lang.Boolean getForceAlwaysWriteFlashCookie()
        If true, then the flash cookie will always be written, regardless of whether or not the flash has data. This should prevent problems on multiple successive redirects. See issue 3735 for details.
      • getInjectionProvider

        public java.lang.Class<? extends com.sun.faces.spi.InjectionProvider> getInjectionProvider()
        This parameter specifies a class that implements the InjectionProvider.
      • getNamespaceParameters

        public java.lang.Boolean getNamespaceParameters()
        If true, then view state hidden field is namespaced according to NamingContainer rules. See issue 3031 for details.
      • getRegisterConverterPropertyEditors

        public java.lang.Boolean getRegisterConverterPropertyEditors()
        If true, allow EL Coercion to use JSF Custom converters.
      • getSendPoweredByHeader

        public java.lang.Boolean getSendPoweredByHeader()
        The servlet specification defines an optional header that can be sent by a container to communicate the version of the JSP/Servlet the response was generated by. If this is enabled, then X-Powered-By=JSF/2.2 header is included in all responses.
      • getSerializationProvider

        public java.lang.Class<? extends com.sun.faces.spi.SerializationProvider> getSerializationProvider()
        This parameter specifies a class that implements the SerializationProvider SPI. This implementation represents a hook the JSF implementation will use in order to allow the use of alternate Serialization implementations.
      • getFaceletFactory

        public java.lang.Class<?> getFaceletFactory()
        The value of this option is a fully qualfified class that extends the com.sun.faces.facelets.FaceletFactory abstract class. This option allows developers to customize the behavior or completely replace the default com.sun.faces.facelets.FaceletFactory implementation. Some rules about what is expected of custom implementations.If the custom implementation has a public single argument constructor where the argument type is com.sun.faces.facelets.FaceletFactory, the default FaceletFactory implementation will be passed to the constructor. If the single argument constructor is not present, the custom implementation will be constructed by invoking a public no-argument constructor.
      • getDisallowDoctypeDecl

        public java.lang.Boolean getDisallowDoctypeDecl()
        When this context param is set to true, this would set a feature on the SAX parser to disallow DOCTYPE declarations. When set to false, this would set a feature on the SAX parser to allow DOCTYPE declarations. When this context param is not specified, whether or not DOCTYPE declarations are allowed would just depend on the SAXParserFactory implementation in use, as is the case today.
      • getManagedBeanFactoryDecorator

        public java.lang.String getManagedBeanFactoryDecorator()
        Javadoc not found.
      • getNumberOfConcurrentFlashUsers

        public java.lang.Integer getNumberOfConcurrentFlashUsers()
        Number of concurrent flash users.
      • getNumberOfFlashesBetweenFlashReapings

        public java.lang.Integer getNumberOfFlashesBetweenFlashReapings()
        Number flashes between flash repaings.
      • getDuplicateJARPattern

        public java.lang.String getDuplicateJARPattern()
        Javadoc not found.
      • getFaceletCache

        public java.lang.String getFaceletCache()
        Javadoc not found.
      • getFaceletsProcessingFileExtensionProcessAs

        public java.lang.String getFaceletsProcessingFileExtensionProcessAs()
        Javadoc not found.
      • getDisableVersionTracking

        public java.lang.Boolean getDisableVersionTracking()
        Javadoc not found.
      • getEnableJSStyleHiding

        public java.lang.Boolean getEnableJSStyleHiding()
        Javadoc not found.
      • getEnabledLoadBundle11Compatibility

        public java.lang.Boolean getEnabledLoadBundle11Compatibility()
        Javadoc not found.
      • getEnableRestoreView11Compatibility

        public java.lang.Boolean getEnableRestoreView11Compatibility()
        Javadoc not found.
      • getEnableGroovyScripting

        public java.lang.Boolean getEnableGroovyScripting()
        Javadoc not found.
      • getEnableHttpMethodRestrictionPhaseListener

        public java.lang.Boolean getEnableHttpMethodRestrictionPhaseListener()
        add the HttpMethodRestrictionPhaseListener if the parameter is enabled.
      • getAllowedHttpMethods

        public java.lang.String getAllowedHttpMethods()
        A white space separated list of case sensitive HTTP method names that are allowed to be processed by this servlet. * means allow all.
      • setClientStateTimeout

        public void setClientStateTimeout​(java.lang.Integer clientStateTimeout)
        Maximum time, in seconds, that client state will be considered valid by the default StateManager/ResponseStateManager implementations. If the time between requests exceeds the configured time, a javax.faces.application.ViewExpiredException. will be thrown. It is important to note that if this feature is enabled, and client requests are recieved with view state produced from a previous version, the ViewExpiredException will be thrown immediately.
      • setClientStateWriteBufferSize

        public void setClientStateWriteBufferSize​(java.lang.Integer clientStateWriteBufferSize)
        The size, in bytes, of the buffer that is used to write client state. It should be noted, that the buffer used is split - half is for raw bytes, the other half is for the Base64 encoded characters of said bytes. So, for example, if the default, 8192, is used, then 4096 of that is used for the bytes, and the other 4096 is used for the Base64 encoded characters.
      • setCompressViewState

        public void setCompressViewState​(java.lang.Boolean compressViewState)
        When true, the view is compressed after it is serialized and before base64 encoded. Works with client state saving only. As of 1.2_09, this option also impacts server side state saving when com.sun.faces.serializeServerState is set to true (this has a large impact of the size of the state in the session when using this option, at the expense of more CPU of course).
      • setDisableClientStateEncryption

        public void setDisableClientStateEncryption​(java.lang.Boolean disableClientStateEncryption)
        Since Mojarra 2.2, the client state is by default always encrypted. When true, the client state encryption is disabled. See also com.sun.faces.ClientStateSavingPassword - recommendations for actual password?
      • setEnableClientStateDebugging

        public void setEnableClientStateDebugging​(java.lang.Boolean enableClientStateDebugging)
        When true, the client state will as test be unserialized before writing and any serialization exceptions will be logged aInteger with a debug path to the cause of the serialization error.
      • setGenerateUniqueServerStateIds

        public void setGenerateUniqueServerStateIds​(java.lang.Boolean generateUniqueServerStateIds)
        If true, generate random server view state ids. If false, create server view state ids sequentially. This resembles closely the JSF 1.x behavior, but this is more sensitive to CSRF.
      • setNumberOfLogicalViews

        public void setNumberOfLogicalViews​(java.lang.Integer numberOfLogicalViews)
        Defines the maximum number of serialized views stored in the session. Works with server state saving only (note the implementation unintentionally has swapped the meaning, as we cannot change this without breaking what people have become used to we have updated this here). See com.sun.faces.numberOfViewsInSession vs com.sun.faces.numberOfLogicalViews for detail.
      • setNumberOfViewsInSession

        public void setNumberOfViewsInSession​(java.lang.Integer numberOfViewsInSession)
        Definies the maximum number of serialized logical views per view. Works with server state saving only (note the implementation unintentionally has swapped the meaning, as we cannot change this without breaking what people have become used to we have updated this here) See com.sun.faces.numberOfViewsInSession vs com.sun.faces.numberOfLogicalViews for detail.
      • setSerializeServerState

        public void setSerializeServerState​(java.lang.Boolean serializeServerState)
        If enabled the component state (not the tree) will be serialized before being stored in the session. This may be desirable for applications that may have issues with view state being sensitive to model changes after state saving which are reflected back in view state. This has since JSF 2.2 been replaced by javax.faces.SERIALIZE_SERVER_STATE.
      • setWriteStateAtFormEnd

        public void setWriteStateAtFormEnd​(java.lang.Boolean writeStateAtFormEnd)
        Per the renderkit doc specification, the state information for the view will be written out prior to closing the form tag. However, it may be desirable to have the state information written out after the opening form tag. If this is the case, specifiy this parameter in the web.xml with a value of false.
      • setAllowTextChildren

        public void setAllowTextChildren​(java.lang.Boolean allowTextChildren)
        If true, allow children of h:inputText and h:outputText to be rendered. In 1.2, they would always be rendered before the value of tag. As of 2.0, children of UIInput and UIOutput components will not be rendered by the default renderer implementations. Set this option to true if this behavior is required, but note that doing so may cause issues when using Ajax. See issue 1154 for details.
      • setAutoCompleteOffOnViewState

        public void setAutoCompleteOffOnViewState​(java.lang.Boolean autoCompleteOffOnViewState)
        If false, don't use autocomplete="off" on view state hidden input field. This attribute is by default always rendered in order to fix a Firefox related bug, but it is invalid on a hidden input field as per w3 HTML validator. So, when false, then beware of the Firefox bug which may trigger "unexpected" ViewExpiredException. See issue 1129 for details.
      • setCompressJavaScript

        public void setCompressJavaScript​(java.lang.Boolean compressJavaScript)
        If true, then the JavaScript rendered by h:commandLink will be compressed to reduce the amount of whitespace transmitted in the response. If false then the JavaScript will be rendered to the client in a well formatted manner.
      • setDisableUnicodeEscaping

        public void setDisableUnicodeEscaping​(java.lang.String disableUnicodeEscaping)
        By default any characters above a certain range will be escaped as either an HTML entity or a decimal reference. This behavior is not always desirable. To allow more flexibility how content is rendered to a client, this option was introduced. Valid configuration values are: false, true, and auto with false being the default. When the option value is false, Mojarra will continue to escaped no matter the response encoding type. If the configuration value is true, Then no escaping will occur assuming that the response encoding can properly handle all characters. If the configuration option is auto then the response encoding will be checked. If the encoding is of the UTF family of encodings no unicode or html entity encoding will occur, however, if the response stream encoding is ISO-8859-1 then the ISO characters above a certain range will be encoded as HTML entities and any characters above that range will be written as decimal references.
      • setDisableIdUniquenessCheck

        public void setDisableIdUniquenessCheck​(java.lang.Boolean disableIdUniquenessCheck)
        If true, then component ID uniqueness won't be checked if ProjectStage is Production to enhance performance. See issue 2414 for details.
      • setEnabledJsStyleHiding

        public void setEnabledJsStyleHiding​(java.lang.Boolean enabledJsStyleHiding)
        If true, inlined JavaScript rendered by the HTML ResponseWriter implementation will be rendered so that the script is hidden from older browser implementations which does not recognize <script/> elements.
      • setEnableScriptsInAttributeValues

        public void setEnableScriptsInAttributeValues​(java.lang.Boolean enableScriptsInAttributeValues)
        If false, attribute values with javascript: or script: will not be rendered within attribute values to prevent potential XSS attacks.
      • setEnableViewStateIdRendering

        public void setEnableViewStateIdRendering​(java.lang.Boolean enableViewStateIdRendering)
        If true, the view state hidden field will be rendered with both the id and name attributes having the value of "javax.faces.ViewState". This is what the spec requires, however, if there are multiple forms within a view and the response content-type is XHTML, the result will be XHTML that will fail validation due to multiple ID attributes with the same value: javax.faces.ViewState. Setting this parameter to false will result in the ID attribute not being rendered. Keep in mind however, that doing this may break integration with AJAX frameworks that get the state field via ID. See issue 433 for details.
      • setPreferXhtml

        public void setPreferXhtml​(java.lang.Boolean preferXhtml)
        For the case where a browser supports XHTML and HTML without a quality. When enabled and this case occurs, then XHTML will be set as the content type. This setting is not recommended and should be only used to fix broken applications designed with XHTML output in mind instead of HTML(5) output.
      • setResponseBufferSize

        public void setResponseBufferSize​(java.lang.Integer responseBufferSize)
        This parameter specifies the size, in bytes, of the buffer that is used to write all generated JSP content excluding state. Note that this is ignored when Facelets is used. For Facelets, use javax.faces.FACELETS_BUFFER_SIZE instead.
      • setCacheResourceModificationTimestamp

        public void setCacheResourceModificationTimestamp​(java.lang.Boolean cacheResourceModificationTimestamp)
        If true, cache the modification time of the resource and use the cached time to tell if the resource needs to be refreshed.
      • setCompressableMimeTypes

        public void setCompressableMimeTypes​(java.lang.String compressableMimeTypes)
        Specify mime types that should be gzip compressed. Mime types can be specified by their exact name (i.e. text/css) or a wildcard can be used after the slash (i.e. text/*). The resource will not be compressed on each request, instead when building the cache, the resource will be compressed to a temporary directory and those bytes will be served instead.
      • setDefaultResourceMaxAge

        public void setDefaultResourceMaxAge​(java.lang.Integer defaultResourceMaxAge)
        This affects the value of the Expires response header that will be sent for a resource. The logic is basically Date.getTime() + valueOf(defaultResourceManxAge). Increase this value to increase the amount of time that a Resource is valid. The value is in milliseconds (so the default value of 604800000 is 7 days).
      • setEnableFaceletsResourceResolverCompositeComponents

        public void setEnableFaceletsResourceResolverCompositeComponents​(java.lang.Boolean enableFaceletsResourceResolverCompositeComponents)
        See issue 3684 for details.
      • setEnableMissingResourceLibraryDetection

        public void setEnableMissingResourceLibraryDetection​(java.lang.Boolean enableMissingResourceLibraryDetection)
        If enabled, the runtime will check for the existence of a resource library before checking for the resource itself. If not found, an appropriate error message will be included in the log and in the view if ProjectStage is Development.
      • setResourceUpdateCheckPeriod

        public void setResourceUpdateCheckPeriod​(java.lang.Integer resourceUpdateCheckPeriod)
        When javax.faces.PROJECT_STATE is Production, UnitTest, or SystemTest resource paths will be cached to reduce the overhead of resource path compuation. By default, updates (i.e. new files, new directories, new versions, etc.) will be checked for every 5 minutes. If a change is detected, the cache will be cleared and rebuilt. If the value of this option is -1, the cache will never be cleared and new resources will not be picked up. The value is in minutes.
      • setEnableAgressiveSessionDirtying

        public void setEnableAgressiveSessionDirtying​(java.lang.Boolean enableAgressiveSessionDirtying)
        If true, makes it so every session attribute is touched in for every request through the lifecycle. This makes it much harder to make mistakes that cause session replication to fail.
      • setEnableDistributable

        public void setEnableDistributable​(java.lang.Boolean enableDistributable)
        If true, signal JSF that the application is deployed to a clustered environment, so that session dirtying will be explicitly performed, hereby forcing session replication. This is automatically true when <distributable /> entry is present in web.xml.
      • setAnnotationScanPackages

        public void setAnnotationScanPackages​(java.lang.String annotationScanPackages)
        The value of this context init parameter is a whitespace separated list of values that control which class packages are scanned for javax.faces annotations. To restrict which jars/packages are scanned, use the following entry format: jar:'jar name':'comma separated list of packages' So an example would be: jar:a.jar:com.acme.package1,com.acme.package2.
      • setDisplayConfiguration

        public void setDisplayConfiguration​(java.lang.Boolean displayConfiguration)
        If true then all web configuration information (context initialization parameters and environment entries) will be written to the log. This is useful during development to confirm your application is configured as expected.
      • setEnableCoreTagLibValidator

        public void setEnableCoreTagLibValidator​(java.lang.Boolean enableCoreTagLibValidator)
        When true, enable validation of standard Core TagLibs, at the expense of a slightly slower start time.
      • setEnableHtmlTagLibValidator

        public void setEnableHtmlTagLibValidator​(java.lang.Boolean enableHtmlTagLibValidator)
        When true, enable validation of standard Html TagLibs, at the expense of a slightly slower start time.
      • setEnableLazyBeanValidation

        public void setEnableLazyBeanValidation​(java.lang.Boolean enableLazyBeanValidation)
        When true, managed beans will be validated when first created. If false, managed beans will be validated when the application is started, at the expense of a slightly slower start time.
      • setEnableThreading

        public void setEnableThreading​(java.lang.Boolean enableThreading)
        When enabled, the runtime initialization and default ResourceHandler implementation will use threads to perform their functions. Set this value to false if threads aren't desired (as in the case of running within the Google Application Engine). Note that when this option is disabled, the ResourceHandler will not pick up new versions of resources when ProjectStage is development. See issue 2385 for details.
      • setForceLoadConfiguration

        public void setForceLoadConfiguration​(java.lang.Boolean forceLoadConfiguration)
        There is a chance for an NPE in com.sun.faces.application.WebappLifecycleListener with some configurations. Take for example, installing JSF in a container such that JSF will be available to all web applications. The NPE will occur for an application that doesn't have the FacesServlet defined within its web.xml. The workaround for this issue is, within the global web.xml for the container (JBoss and Tomcat both have one) add either a FacesServlet definition (no mapping) or add the context init parameter, com.sun.faces.forceLoadConfiguration, with a value of true. See issue 670 for details.
      • setValidateXml

        public void setValidateXml​(java.lang.Boolean validateXml)
        When true, enable validation of faces-config.xml files, at the expense of a slightly slower start time.
      • setVerifyObjects

        public void setVerifyObjects​(java.lang.Boolean verifyObjects)
        When true, JSF makes during startup sure all that registered managed beans components, validators, etc can be instantiated by the runtime, at the expense of a slightly slower start time.
      • setEnableTransitionTimeNoOpFlash

        public void setEnableTransitionTimeNoOpFlash​(java.lang.Boolean enableTransitionTimeNoOpFlash)
        If true, the act of calling getExternalContext().getFlash() on the FacesContext at startup or shutdown time will cause a no-op implementation of the Flash to be returned. This should prevent startup/shutdown exceptions caused by invalid/stale flash cookies. See "bugdb 17024459" for details.
      • setExpressionFactory

        public void setExpressionFactory​(java.lang.Class<? extends ExpressionFactory> expressionFactory)
        This parameter specifies a class that implements the ExpressionFactory.
      • setForceAlwaysWriteFlashCookie

        public void setForceAlwaysWriteFlashCookie​(java.lang.Boolean forceAlwaysWriteFlashCookie)
        If true, then the flash cookie will always be written, regardless of whether or not the flash has data. This should prevent problems on multiple successive redirects. See issue 3735 for details.
      • setInjectionProvider

        public void setInjectionProvider​(java.lang.Class<? extends com.sun.faces.spi.InjectionProvider> injectionProvider)
        This parameter specifies a class that implements the InjectionProvider.
      • setNamespaceParameters

        public void setNamespaceParameters​(java.lang.Boolean namespaceParameters)
        If true, then view state hidden field is namespaced according to NamingContainer rules. See issue 3031 for details.
      • setRegisterConverterPropertyEditors

        public void setRegisterConverterPropertyEditors​(java.lang.Boolean registerConverterPropertyEditors)
        If true, allow EL Coercion to use JSF Custom converters.
      • setSendPoweredByHeader

        public void setSendPoweredByHeader​(java.lang.Boolean sendPoweredByHeader)
        The servlet specification defines an optional header that can be sent by a container to communicate the version of the JSP/Servlet the response was generated by. If this is enabled, then X-Powered-By=JSF/2.2 header is included in all responses.
      • setSerializationProvider

        public void setSerializationProvider​(java.lang.Class<? extends com.sun.faces.spi.SerializationProvider> serializationProvider)
        This parameter specifies a class that implements the SerializationProvider SPI. This implementation represents a hook the JSF implementation will use in order to allow the use of alternate Serialization implementations.
      • setFaceletFactory

        public void setFaceletFactory​(java.lang.Class<?> faceletFactory)
        The value of this option is a fully qualfified class that extends the com.sun.faces.facelets.FaceletFactory abstract class. This option allows developers to customize the behavior or completely replace the default com.sun.faces.facelets.FaceletFactory implementation. Some rules about what is expected of custom implementations.If the custom implementation has a public single argument constructor where the argument type is com.sun.faces.facelets.FaceletFactory, the default FaceletFactory implementation will be passed to the constructor. If the single argument constructor is not present, the custom implementation will be constructed by invoking a public no-argument constructor.
      • setDisallowDoctypeDecl

        public void setDisallowDoctypeDecl​(java.lang.Boolean disallowDoctypeDecl)
        When this context param is set to true, this would set a feature on the SAX parser to disallow DOCTYPE declarations. When set to false, this would set a feature on the SAX parser to allow DOCTYPE declarations. When this context param is not specified, whether or not DOCTYPE declarations are allowed would just depend on the SAXParserFactory implementation in use, as is the case today.
      • setManagedBeanFactoryDecorator

        public void setManagedBeanFactoryDecorator​(java.lang.String managedBeanFactoryDecorator)
        Javadoc not found.
      • setNumberOfConcurrentFlashUsers

        public void setNumberOfConcurrentFlashUsers​(java.lang.Integer numberOfConcurrentFlashUsers)
        Number of concurrent flash users.
      • setNumberOfFlashesBetweenFlashReapings

        public void setNumberOfFlashesBetweenFlashReapings​(java.lang.Integer numberOfFlashesBetweenFlashReapings)
        Number flashes between flash repaings.
      • setDuplicateJARPattern

        public void setDuplicateJARPattern​(java.lang.String duplicateJARPattern)
        Javadoc not found.
      • setFaceletCache

        public void setFaceletCache​(java.lang.String faceletCache)
        Javadoc not found.
      • setFaceletsProcessingFileExtensionProcessAs

        public void setFaceletsProcessingFileExtensionProcessAs​(java.lang.String faceletsProcessingFileExtensionProcessAs)
        Javadoc not found.
      • setDisableVersionTracking

        public void setDisableVersionTracking​(java.lang.Boolean disableVersionTracking)
        Javadoc not found.
      • setEnableJSStyleHiding

        public void setEnableJSStyleHiding​(java.lang.Boolean enableJSStyleHiding)
        Javadoc not found.
      • setEnabledLoadBundle11Compatibility

        public void setEnabledLoadBundle11Compatibility​(java.lang.Boolean enabledLoadBundle11Compatibility)
        Javadoc not found.
      • setEnableRestoreView11Compatibility

        public void setEnableRestoreView11Compatibility​(java.lang.Boolean enableRestoreView11Compatibility)
        Javadoc not found.
      • setEnableGroovyScripting

        public void setEnableGroovyScripting​(java.lang.Boolean enableGroovyScripting)
        Javadoc not found.
      • setEnableHttpMethodRestrictionPhaseListener

        public void setEnableHttpMethodRestrictionPhaseListener​(java.lang.Boolean enableHttpMethodRestrictionPhaseListener)
        add the HttpMethodRestrictionPhaseListener if the parameter is enabled.
      • setAllowedHttpMethods

        public void setAllowedHttpMethods​(java.lang.String allowedHttpMethods)
        A white space separated list of case sensitive HTTP method names that are allowed to be processed by this servlet. * means allow all.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object