升级到 Java 8,基于 Spring Framework 5
增加对通过使用 Redis ReactiveSessionRepository 对管理 Spring WebFlux’s WebSession 的支持
提取 SessionRepository 的实现以分离模块
改进 Session 和 SessionRepository API
为所有受支持的会话存储提供改进和协调的配置支持
增加了对使用 SessionCookieConfig 默认配置 CookieSerializer 的支持
多处的性能改进和错误修复
使用
Maven[code]
compile 'org.springframework.session:spring-session-core:2.0.0.RELEASE'
}[/code]Spring Session 致力于提供一个公共基础设施会话,主要功能如下:
从任意的环境中访问一个会话 (i.e. web, messaging infrastructure, etc)
WEB 环境下
以开发尚中立的方式支持集群
可插拔策略可以确定 session id
WebSocket 活跃的时候可以简单的保持 HttpSession
软件详情:https://docs.spring.io/spring-session/docs/2.0.0.RELEASE/reference/html5/
下载地址:http://git.oschina.net/mirrors/spring-session
来自:开源中国社区

