org.zkoss.zkmax.ui.comet.async.disabled"
From Documentation
Line 6: | Line 6: | ||
Default: <i>auto</i> | Default: <i>auto</i> | ||
− | {{ | + | {{versionSince| 6.0.0}} |
{{ZK EE}} | {{ZK EE}} | ||
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.