Package org.zkoss.zkspringboot
Class ZkMaxAutoConfiguration
java.lang.Object
org.zkoss.zkspringboot.ZkMaxAutoConfiguration
@Configuration
@EnableConfigurationProperties(ZkProperties.class)
@ConditionalOnClass(org.zkoss.zkmax.Version.class)
public class ZkMaxAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zkmax.ui.comet.CometAsyncServlet>org.springframework.boot.web.servlet.ServletContextInitializerorg.springframework.boot.web.servlet.FilterRegistrationBean<org.zkoss.zkmax.au.websocket.WebSocketFilter>wsFilter()
-
Constructor Details
-
ZkMaxAutoConfiguration
public ZkMaxAutoConfiguration()
-
-
Method Details
-
manualServletConfigInit
@Bean public org.springframework.boot.web.servlet.ServletContextInitializer manualServletConfigInit() -
cometAsyncServlet
@Bean @ConditionalOnProperty(prefix="zk", name="servlet3-push-enabled", matchIfMissing=true) public org.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zkmax.ui.comet.CometAsyncServlet> cometAsyncServlet() -
wsFilter
@Bean @ConditionalOnProperty(prefix="zk", name="websockets-enabled", matchIfMissing=true) public org.springframework.boot.web.servlet.FilterRegistrationBean<org.zkoss.zkmax.au.websocket.WebSocketFilter> wsFilter()
-