内容简介:Spring Session 2.0.0 已正式发布,看看值得关注的主要更新: 升级到 Java 8,基于 Spring Framework 5 增加对通过使用 Redis ReactiveSessionRepository 对管理 Spring WebFlux’s WebSession 的支持 提取 ...
Spring Session 2.0.0 已正式发布,看看值得关注的主要更新:
升级到 Java 8,基于 Spring Framework 5
增加对通过使用 Redis
ReactiveSessionRepository对管理 Spring WebFlux’sWebSession的支持改进
Session和SessionRepositoryAPI为所有受支持的会话存储提供改进和协调的配置支持
多处的性能改进和错误修复
使用
Maven
<dependencies> <dependency> <groupId>org.springframework.session</groupId> <artifactId>spring-session-core</artifactId> <version>2.0.0.RELEASE</version> </dependency> </dependencies>
Gradle
dependencies {
compile 'org.springframework.session:spring-session-core:2.0.0.RELEASE'
}Spring Session 致力于提供一个公共基础设施会话,主要功能如下:
从任意的环境中访问一个会话 (i.e. web, messaging infrastructure, etc)
WEB 环境下
以开发尚中立的方式支持集群
可插拔策略可以确定 session id
WebSocket 活跃的时候可以简单的保持 HttpSession
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Out of Control
Kevin Kelly / Basic Books / 1995-4-14 / USD 22.95
Out of Control is a summary of what we know about self-sustaining systems, both living ones such as a tropical wetland, or an artificial one, such as a computer simulation of our planet. The last chap......一起来看看 《Out of Control》 这本书的介绍吧!