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]


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

查看所有标签

猜你喜欢:

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

The Everything Store

The Everything Store

Brad Stone / Little, Brown and Company / 2013-10-22 / USD 28.00

The definitive story of Amazon.com, one of the most successful companies in the world, and of its driven, brilliant founder, Jeff Bezos. Amazon.com started off delivering books through the mail. Bu......一起来看看 《The Everything Store》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具