org.zkoss.zkmax.ui.comet.async.disabled"
From Documentation
(Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zkmax.ui.comet.async.disabled Default: <i>auto</i> [Enterprise Edition] [Since 6.0.0] It specifies whether...") |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
'''Property:''' | '''Property:''' | ||
org.zkoss.zkmax.ui.comet.async.disabled | org.zkoss.zkmax.ui.comet.async.disabled | ||
+ | |||
+ | {{GlobalLibraryProperty}} | ||
Default: <i>auto</i> | Default: <i>auto</i> | ||
− | + | {{versionSince| 6.0.0}} | |
− | + | {{ZK EE}} | |
It specifies whether to disable the use of Servlet 3's Asynchronous Support for handling Comet-based server push. | It specifies whether to disable the use of Servlet 3's Asynchronous Support for handling Comet-based server push. | ||
− | By default, ZK detects if the server supports Servlet 3 | + | By default, ZK detects if the server supports Servlet 3 and then uses Asynchronous Support if available. The memory use of Asynchronous Support is much more efficient since it doesn't hold any pending thread. However, if you prefer to disable it, you could specify this library property to true. |
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Latest revision as of 06:05, 17 January 2024
Property:
org.zkoss.zkmax.ui.comet.async.disabled
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: auto
Since 6.0.0
- Available for ZK:
It specifies whether to disable the use of Servlet 3's Asynchronous Support for handling Comet-based server push.
By default, ZK detects if the server supports Servlet 3 and then uses Asynchronous Support if available. The memory use of Asynchronous Support is much more efficient since it doesn't hold any pending thread. However, if you prefer to disable it, you could specify this library property to true.