Go to file
rstoyanchev 2dd22f64e1 Improve cancellation of read/write inactivity
The cancellation of read and write inactivity tasks was done via
WebSocketHandler#afterConnectionClosed, relying on the WebSocket
library to always invoke the callback.

This change moves the cancellation to the `close` method instead
that in turn is called from DefaultStompSession#resetConnection,
in effect making the cancellation more proactive and aligned with
connection cleanup in DefaultStompSession vs relying on a
subsequent call from the WebSocket library after the connection
is closed.

Closes gh-32195
2024-02-13 11:17:34 +00:00
.github
buildSrc Upgrade to SLF4J 2.0.12, Jetty 12.0.6, Apache HttpClient 5.3.1, OpenPDF 1.3.39, Mockito 5.10, Checkstyle 10.13 2024-02-06 17:54:26 +01:00
ci Upgrade CI to Ubuntu Jammy 20240125 2024-02-08 19:03:42 +01:00
framework-api Polish "Replace deprecated usage of project.buildDir" 2023-12-18 16:24:02 +01:00
framework-bom
framework-docs Review AOT recommendations in the reference guide 2024-02-12 16:48:26 +01:00
framework-platform Upgrade to SLF4J 2.0.12, Jetty 12.0.6, Apache HttpClient 5.3.1, OpenPDF 1.3.39, Mockito 5.10, Checkstyle 10.13 2024-02-06 17:54:26 +01:00
gradle Upgrade to Gradle 8.6 2024-02-03 11:38:56 +01:00
integration-tests Introduce ClassUtils.isVoidType() utility method 2024-01-30 16:27:34 +01:00
spring-aop Consistently use class literals for primitive types 2024-01-30 15:26:12 +01:00
spring-aspects Polish 2024-01-17 18:41:15 +01:00
spring-beans Fix assertion in BeanWrapperAutoGrowingTests 2024-02-01 09:34:32 +01:00
spring-context Consistent Lock field declaration (instead of ReentrantLock field type) 2024-02-13 11:07:20 +01:00
spring-context-indexer Polish 2024-01-17 18:41:15 +01:00
spring-context-support Polish 2024-01-20 14:26:48 +01:00
spring-core Use ReentrantLock instead of synchronization for concurrency throttle 2024-02-13 11:03:40 +01:00
spring-core-test Polish 2024-01-15 11:17:19 +01:00
spring-expression Document safe navigation semantics within compound expressions in SpEL 2024-02-11 18:36:14 +01:00
spring-instrument
spring-jcl Log4jLog re-resolves ExtendedLogger on deserialization 2023-11-09 11:46:22 +01:00
spring-jdbc Rely on HashSet for uniqueness of mapped names 2024-02-06 08:20:15 +01:00
spring-jms Polish 2024-01-08 17:12:33 +01:00
spring-messaging Use ConnectionLostException after heartbeat failures 2024-02-13 11:17:34 +00:00
spring-orm Prevent AOT from failing with spring-orm without JPA 2024-01-30 15:43:07 +01:00
spring-oxm Consistently use class literals for primitive types 2024-01-30 15:26:12 +01:00
spring-r2dbc Polish 2024-01-08 17:12:33 +01:00
spring-test Polish 2024-02-05 09:11:04 +01:00
spring-tx Polish 2024-02-01 14:40:02 +01:00
spring-web Consistent Lock field declaration (instead of ReentrantLock field type) 2024-02-13 11:07:20 +01:00
spring-webflux Introduce single-value request predicates 2024-02-12 16:09:00 +01:00
spring-webmvc Introduce single-value request predicates 2024-02-12 16:09:00 +01:00
spring-websocket Improve cancellation of read/write inactivity 2024-02-13 11:17:34 +00:00
src Add Checkstyle rule to enforce use of class literals for primitives & void 2024-02-01 12:51:35 +01:00
.editorconfig
.gitattributes
.gitignore Add `/framework-*/build` to .gitignore 2023-09-02 18:28:24 +02:00
.sdkmanrc Upgrade SDK env to Java 17.0.10 2024-01-18 16:39:11 +01:00
CODE_OF_CONDUCT.adoc
CONTRIBUTING.md Update regarding Antora, etc. 2023-07-07 11:18:43 +02:00
LICENSE.txt
README.md Rename Gradle enterprise badge to Develocity 2024-01-19 10:00:00 +01:00
SECURITY.md
build.gradle Upgrade to JUnit 5.10.2 2024-02-04 14:00:56 +01:00
gradle.properties Next development version (v6.1.4-SNAPSHOT) 2024-01-11 09:11:17 +00:00
gradlew Upgrade to Gradle 8.4 2023-10-08 16:08:29 +02:00
gradlew.bat Upgrade to Gradle 8.6 2024-02-03 11:38:56 +01:00
import-into-eclipse.md
import-into-idea.md
settings.gradle Upgrade com.gradle.enterprise plugin to 3.16.1 2024-01-26 10:37:52 +01:00
update_copyright_headers.sh

README.md

Spring Framework Build Status Revved up by Develocity

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section of the reference documentation for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), GitHub wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Micro-Benchmarks

See the Micro-Benchmarks wiki page.

Build from Source

See the Build from Source wiki page and the CONTRIBUTING.md file.

Continuous Integration Builds

Information regarding CI builds can be found in the Spring Framework Concourse pipeline documentation.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on 𝕏. In-depth articles can be found at The Spring Blog, and releases are announced via our releases feed.

License

The Spring Framework is released under version 2.0 of the Apache License.