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


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

查看所有标签

猜你喜欢:

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

Distributed Systems

Distributed Systems

Sukumar Ghosh / Chapman and Hall/CRC / 2014-7-14 / USD 119.95

Distributed Systems: An Algorithmic Approach, Second Edition provides a balanced and straightforward treatment of the underlying theory and practical applications of distributed computing. As in the p......一起来看看 《Distributed Systems》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

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

各进制数互转换器

html转js在线工具
html转js在线工具

html转js在线工具