Spring Boot 2.0.0.M6 发布,初步支持 HTTP/2

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Spring Boot 2.0.0.M6 已发布。该版本关闭了 144 个 issue 和 PR,继续向 2.0 GA 迈进。 该里程碑版改进了之前版本中的一些项目,也新增了一些特性,具体如下: 初步支持 HTTP/2:目前在 Tomcat 和 Undertow 上支...

Spring Boot 2.0.0.M6 已发布。该版本关闭了 144 个 issue 和 PR,继续向 2.0 GA 迈进。

该里程碑版改进了之前版本中的一些项目,也新增了一些特性,具体如下:

  • 初步支持 HTTP/2:目前在 Tomcat 和 Undertow 上支持 HTTP/2(查看对 Jetty 的支持

  • 改进对基于 WebFlux 的应用程序的支持 —— Spring Boot 现在支持为所有容器进行 TLS 配置,并提供错误页面支持

  • Kotlin 扩展 —— 首个 Kotlin 扩展已经诞生。现在,可以用更符合习惯的方式启动应用程序

package com.example.demo
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class DemoApplication
fun main(args: Array<String>) {
    runApplication<DemoApplication>(*args)
}

有关变更的完整列表和升级说明,请参阅 WIKI 上的 Spring Boot 2.0.0.M6 发行说明

使用:https://repo.spring.io/milestone/

源码下载:

来自:https://spring.io/blog/


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Algorithms Illuminated (Part 2)

Algorithms Illuminated (Part 2)

Tim Roughgarden / Soundlikeyourself Publishing, LLC / 2018-8-5 / USD 17.99

Algorithms are the heart and soul of computer science. Their applications range from network routing and computational genomics to public-key cryptography and machine learning. Studying algorithms can......一起来看看 《Algorithms Illuminated (Part 2)》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

随机密码生成器
随机密码生成器

多种字符组合密码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换