org.zkoss.zkmax.ui.comet.async.disabled"
From Documentation
Jumperchen (talk | contribs) |
Robertwenzel (talk | contribs) m |
||
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> |
Revision as of 08:31, 7 July 2016
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 use 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.