Go to file
Brian Clozel 52af43d6d2 Handle ResponseStatusException thrown by MVC functional endpoints
Prior to this commit, exceptions thrown by MVC functional handlers would
not be considered by `ExceptionHandlerExceptionResolver`. This means
that common exceptions would not be handled consistently between
annotated and functional handlers. This is true, for example, for all
`ProblemDetails`-related exception handling.

While MVC functional and annotation models are separate concepts,
WebFlux has a different error handling model that processes all
exceptions in a central place.

This commit ensures that `ExceptionHandlerExceptionResolver` considers
exceptions thrown by handlers of type `HandlerFunction<?>` and processes
them accordingly.

Closes gh-32689
2024-06-06 14:21:17 +02:00
.github Add update-antora-ui-spring.yml workflow 2024-05-27 16:56:13 +02:00
buildSrc Polishing 2024-05-31 18:01:49 +02:00
ci Merge branch '6.1.x' 2024-04-29 13:40:51 +02:00
framework-api Polish "Replace deprecated usage of project.buildDir" 2023-12-18 16:24:02 +01:00
framework-bom Guard against new Spring modules in ApiDiff task 2022-07-28 10:51:53 +02:00
framework-docs Merge branch '6.1.x' 2024-06-06 08:08:47 +02:00
framework-platform Merge branch '6.1.x' 2024-06-05 00:02:33 +02:00
gradle Merge branch '6.1.x' 2024-05-24 15:42:39 +02:00
integration-tests Merge branch '6.1.x' 2024-05-23 17:08:22 +02:00
spring-aop Merge branch '6.1.x' 2024-06-05 16:33:44 +02:00
spring-aspects Merge branch '6.1.x' 2024-05-23 17:08:22 +02:00
spring-beans Add BeanFactoryInitializer callback before preInstantiateSingletons 2024-06-04 22:50:42 +02:00
spring-context Add BeanFactoryInitializer callback before preInstantiateSingletons 2024-06-04 22:50:42 +02:00
spring-context-indexer Polish 2024-01-17 18:41:15 +01:00
spring-context-support Merge branch '6.1.x' 2024-05-07 15:53:00 +02:00
spring-core Avoid issues with system line separator in tests 2024-06-05 12:36:58 +02:00
spring-core-test Merge branch '6.1.x' 2024-04-23 15:34:49 +02:00
spring-expression Polish documentation and implementation of SpEL's Indexer 2024-05-28 15:29:54 +02:00
spring-instrument Ensure all packages declare package-info.java with null-safety annotations 2023-03-10 17:33:52 +01:00
spring-jcl Log4jLog re-resolves ExtendedLogger on deserialization 2023-11-09 11:46:22 +01:00
spring-jdbc Merge branch '6.1.x' 2024-05-23 08:14:59 +02:00
spring-jms Merge branch '6.1.x' 2024-05-10 12:29:49 +02:00
spring-messaging Use default phase 0 for WebSocket messaging 2024-05-21 15:49:38 +01:00
spring-orm Merge branch '6.1.x' 2024-06-06 10:06:24 +02:00
spring-oxm Merge branch '6.1.x' 2024-05-21 11:17:16 +02:00
spring-r2dbc Remove unneeded `@SuppressWarnings("NullAway")` 2024-05-06 18:28:54 +02:00
spring-test Revert "Do not read Map in FormHttpMessageConverter" 2024-06-06 12:39:18 +02:00
spring-tx Merge branch '6.1.x' 2024-05-07 15:53:00 +02:00
spring-web Revert "Do not read Map in FormHttpMessageConverter" 2024-06-06 12:39:18 +02:00
spring-webflux Avoid issues with system line separator in tests 2024-06-05 12:36:58 +02:00
spring-webmvc Handle ResponseStatusException thrown by MVC functional endpoints 2024-06-06 14:21:17 +02:00
spring-websocket Expose WebSocketMessageBrokerStats contracts 2024-05-27 16:06:32 +02:00
src Revert "Disable warnings for deprecated for removal in Eclipse" 2024-06-06 11:44:09 +02:00
.editorconfig
.gitattributes Ensure line endings for binary files are not modified in Git 2019-10-18 11:56:18 +02:00
.gitignore Modernize Antora Build 2024-05-22 10:20:20 +02:00
.sdkmanrc Upgrade to Java 17.0.11 2024-04-22 12:13:01 +02:00
CODE_OF_CONDUCT.adoc
CONTRIBUTING.md Update regarding Antora, etc. 2023-07-07 11:18:43 +02:00
LICENSE.txt
README.md Merge branch '6.1.x' 2024-03-14 15:05:46 +01:00
SECURITY.md Mention JAR signing key in SECURITY.md 2023-03-17 22:32:33 +01:00
build.gradle Merge branch '6.1.x' 2024-05-22 14:46:33 +02:00
gradle.properties Next development version (v6.1.9-SNAPSHOT) 2024-05-22 16:45:49 +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 Remove Groovy from "Eclipse/STS Project Import Guide" 2022-01-21 11:27:09 +01:00
import-into-idea.md Fix links in Javadoc and reference docs 2022-09-14 17:00:11 +02:00
settings.gradle Fix build warnings 2024-04-30 19:10:31 +02:00
update_copyright_headers.sh Use correct Kotlin file extension in update_copyright_headers.sh 2023-02-19 13:41:36 +01:00

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.