Package org.zkoss.zkspringboot
Class ZkAutoConfiguration
java.lang.Object
org.zkoss.zkspringboot.ZkAutoConfiguration
@Configuration
@EnableConfigurationProperties(ZkProperties.class)
public class ZkAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zk.au.http.DHtmlUpdateServlet>org.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zk.au.http.DHtmlUpdateServlet>org.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zk.ui.http.DHtmlLayoutServlet>Even jar packaging doesn't call DHtmlLayoutServlet but its init() method perform some tricky things.org.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zk.au.http.DHtmlResourceServlet>org.zkoss.zk.ui.http.HttpSessionListenerWith Zats the listener needs to be configured in web.xml.org.springframework.boot.web.servlet.FilterRegistrationBean<org.zkoss.zk.ui.http.RichletFilter>
-
Constructor Details
-
ZkAutoConfiguration
-
-
Method Details
-
dHtmlLayoutServlet
@Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zk.ui.http.DHtmlLayoutServlet> dHtmlLayoutServlet()Even jar packaging doesn't call DHtmlLayoutServlet but its init() method perform some tricky things. We need to invoke to keep download behavior working as before. Related to ZK-1619. -
richletFilter
@Bean @ConditionalOnProperty(prefix="zk", name="richlet-filter-mapping") public org.springframework.boot.web.servlet.FilterRegistrationBean<org.zkoss.zk.ui.http.RichletFilter> richletFilter() -
defaultDHtmlUpdateServlet
@Bean @ConditionalOnClass(name="org.zkoss.zats.mimic.Zats") public org.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zk.au.http.DHtmlUpdateServlet> defaultDHtmlUpdateServlet() -
customizableDHtmlUpdateServlet
@Bean @ConditionalOnMissingClass("org.zkoss.zats.mimic.Zats") public org.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zk.au.http.DHtmlUpdateServlet> customizableDHtmlUpdateServlet() -
httpSessionListener
@Bean @ConditionalOnMissingClass("org.zkoss.zats.mimic.Zats") public org.zkoss.zk.ui.http.HttpSessionListener httpSessionListener()With Zats the listener needs to be configured in web.xml.(custom update URI isn't supported by Zats anyway). Zats runs with its own embedded Jetty. -
dHtmlResourceServlet
@Bean @ConditionalOnProperty(prefix="zk", name="resource-uri") public org.springframework.boot.web.servlet.ServletRegistrationBean<org.zkoss.zk.au.http.DHtmlResourceServlet> dHtmlResourceServlet()
-