Spring Session 2.0.0 正式发布:升级至 Java 8

栏目: Java · 发布时间: 8年前

内容简介:Spring Session 2.0.0 正式发布:升级至 Java 8

Spring Session 2.0.0 已正式发布,看看值得关注的主要更新:

  1. 升级到 Java 8,基于 Spring Framework 5

  2. 增加对通过使用 Redis  ReactiveSessionRepository 对管理  Spring WebFlux’s  WebSession 的支持

  3. 提取  SessionRepository  的实现以分离模块

  4. 改进 Session 和  SessionRepository API

  5. 为所有受支持的会话存储提供改进和协调的配置支持

  6. 增加了对使用 SessionCookieConfig 默认配置  CookieSerializer 的支持

  7. 多处的性能改进和错误修复

使用

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


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

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

About Face 3

About Face 3

Alan Cooper、Robert Reimann、David Cronin / John Wiley & Sons / 2007-5-15 / GBP 28.99

* The return of the authoritative bestseller includes all new content relevant to the popularization of how About Face maintains its relevance to new Web technologies such as AJAX and mobile platforms......一起来看看 《About Face 3》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具