org.zkoss.zkmax.ui.comet.async.disabled"
From Documentation
Robertwenzel (talk | contribs) m |
|||
Line 6: | Line 6: | ||
Default: <i>auto</i> | Default: <i>auto</i> | ||
− | + | {{versopmSince| 6.0.0}} | |
{{ZK EE}} | {{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}} |
Revision as of 04:36, 13 July 2023
Property:
org.zkoss.zkmax.ui.comet.async.disabled
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: auto
- 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.