Spring Framwork Web on Reactive Stack v5.3.36 SNAPSHOTReactive APIs, WebFlux can also be used with Coroutines APIs in Kotlin which provides a more imperative style of programming. The following Kotlin code samples will be provided with Coroutines APIs. 1.1.3 If you are interested in a lightweight, functional web framework for use with Java 8 lambdas or Kotlin, you can use the Spring WebFlux functional web endpoints. That can also be a good choice for smaller start by learning about how non-blocking I/O works (for example, concurrency on single- threaded Node.js) and its effects. 1.1.5. Servers Spring WebFlux is supported on Tomcat, Jetty, Servlet 3.1+ containers0 码力 | 182 页 | 2.52 MB | 1 年前3
Spring Framwork Web on Servlet Stack v5.3.36 SNAPSHOTservlet); registration.setLoadOnStartup(1); registration.addMapping("/app/*"); } } Kotlin class MyWebApplicationInitializer : WebApplicationInitializer { override fun onStartup(servletContext: protected String[] getServletMappings() { return new String[] { "/app1/*" }; } } Kotlin class MyWebAppInitializer : AbstractAnnotationConfigDispatcherServletInitializer() { override text)); registration.setLoadOnStartup(1); registration.addMapping("/"); } } Kotlin import org.springframework.web.WebApplicationInitializer class MyWebApplicationInitializer : W0 码力 | 259 页 | 3.58 MB | 1 年前3
Spring Boot 3.0.0-M4 Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 7.10. Kotlin support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 7.10.3. Kotlin API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . static void main(String[] args) { SpringApplication.run(MyApplication.class, args); } } Kotlin import org.springframework.boot.autoconfigure.EnableAutoConfiguration import org.springframework0 码力 | 832 页 | 14.77 MB | 1 年前3
Spring Boot 2.2.5.RELEASE Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 4.29. Kotlin support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 4.29.3. Kotlin API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . your Webjar. Using jQuery as an example, adding "/webjars/jquery/jquery.min.js" results in "/webjars/jquery/x.y.z/jquery.min.js" where x.y.z is the Webjar version. If you use JBoss, you need to declare0 码力 | 521 页 | 11.00 MB | 1 年前3
Spring Boot 2.2.8.RELEASE Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 4.29. Kotlin support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 4.29.3. Kotlin API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . your Webjar. Using jQuery as an example, adding "/webjars/jquery/jquery.min.js" results in "/webjars/jquery/x.y.z/jquery.min.js" where x.y.z is the Webjar version. If you use JBoss, you need to declare0 码力 | 523 页 | 11.05 MB | 1 年前3
Spring Boot 2.2.4.RELEASE Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 4.29. Kotlin support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 4.29.3. Kotlin API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . your Webjar. Using jQuery as an example, adding "/webjars/jquery/jquery.min.js" results in "/webjars/jquery/x.y.z/jquery.min.js" where x.y.z is the Webjar version. If you use JBoss, you need to declare0 码力 | 521 页 | 11.00 MB | 1 年前3
Spring Boot 2.2.7.RELEASE Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 4.29. Kotlin support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 4.29.3. Kotlin API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . your Webjar. Using jQuery as an example, adding "/webjars/jquery/jquery.min.js" results in "/webjars/jquery/x.y.z/jquery.min.js" where x.y.z is the Webjar version. If you use JBoss, you need to declare0 码力 | 522 页 | 11.01 MB | 1 年前3
Spring Boot 2.2.0.RC1 Reference Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 4.29. Kotlin support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 4.29.3. Kotlin API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . your Webjar. Using jQuery as an example, adding "/webjars/jquery/jquery.min.js" results in "/webjars/jquery/x.y.z/jquery.min.js" where x.y.z is the Webjar version. If you use JBoss, you need to declare0 码力 | 518 页 | 10.93 MB | 1 年前3
Spring Boot 2.2.0.M6 Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 4.29. Kotlin support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 4.29.3. Kotlin API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . your Webjar. Using jQuery as an example, adding "/webjars/jquery/jquery.min.js" results in "/webjars/jquery/x.y.z/jquery.min.js" where x.y.z is the Webjar version. If you use JBoss, you need to declare0 码力 | 518 页 | 12.25 MB | 1 年前3
Spring Boot 2.3.1.RELEASE Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 4.30. Kotlin support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 4.30.3. Kotlin API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . your Webjar. Using jQuery as an example, adding "/webjars/jquery/jquery.min.js" results in "/webjars/jquery/x.y.z/jquery.min.js" where x.y.z is the Webjar version. If you use JBoss, you need to declare0 码力 | 535 页 | 11.58 MB | 1 年前3
共 220 条
- 1
- 2
- 3
- 4
- 5
- 6
- 22













