Go to file
Brian Clozel 5fd73f0bae Fix MockHttpServletRequest InputStream for empty body
Prior to this commit, a recent change applied in gh-29125 changed the
behavior of `MockHttpServletRequest` instances. In case of an empty
request body, the returned `InputStream` would be static and could not
be reused across requests.
This could result in `java.io.IOException: Stream closed` exceptions if
a previous request was read.

This commit ensures that a new instance of an empty stream is returned
for each request instance.

Fixes gh-29901
2023-01-31 19:28:15 +01:00
.github Restore top-level read permission for backport bot 2022-12-09 12:02:56 +00:00
buildSrc Upgrade Gradle Enterprise & Conventions plugins 2023-01-10 09:10:59 +01:00
ci Update Java versions and remove Java 18 build 2023-01-19 09:40:25 +01:00
framework-bom Guard against new Spring modules in ApiDiff task 2022-07-28 10:51:53 +02:00
framework-docs Restrict "uri" KeyValue for client observations 2023-01-30 10:09:45 +01:00
framework-platform Start building with Reactor 2022.0.3-SNAPSHOT 2023-01-31 15:37:04 +01:00
gradle Update Java versions and remove Java 18 build 2023-01-19 09:40:25 +01:00
integration-tests Update copyright headers 2023-01-19 16:20:03 +01:00
spring-aop Polishing 2023-01-31 16:14:32 +01:00
spring-aspects Add since attribute to Deprecated annotation 2022-11-22 21:18:34 +01:00
spring-beans Polishing 2023-01-31 18:15:28 +01:00
spring-context Polishing 2023-01-31 16:14:32 +01:00
spring-context-indexer Update copyright headers for source code changed since August 2022 2022-11-29 19:38:42 +01:00
spring-context-support Flexible constructor resolution in AutowireCapableBeanFactory.createBean(Class) 2023-01-19 17:10:42 +01:00
spring-core Upgrade to ASM master (including early support for Java 21 bytecode) 2023-01-31 16:06:33 +01:00
spring-core-test Polishing 2022-12-09 00:56:00 -05:00
spring-expression Polishing 2023-01-31 16:14:32 +01:00
spring-instrument Delete obsolete log4j config 2020-03-18 17:01:01 +01:00
spring-jcl Refine LogAdapter#isPresent 2022-11-22 09:44:52 +01:00
spring-jdbc Avoid warnings / Polishing 2023-01-20 15:22:47 +01:00
spring-jms Update release version due to backport 2023-01-31 10:00:18 +01:00
spring-messaging Explicit target ClassLoader for interface-based infrastructure proxies 2023-01-31 16:11:34 +01:00
spring-orm Include all Hibernate methods in SharedEntityManagerCreator's queryTerminatingMethods 2023-01-28 20:42:21 +01:00
spring-oxm Update copyright headers 2023-01-19 16:20:03 +01:00
spring-r2dbc Polishing 2023-01-31 18:15:28 +01:00
spring-test Fix MockHttpServletRequest InputStream for empty body 2023-01-31 19:28:15 +01:00
spring-tx Explicit target ClassLoader for interface-based infrastructure proxies 2023-01-31 16:11:34 +01:00
spring-web Polishing 2023-01-31 16:14:32 +01:00
spring-webflux Consistently list supported media types 2023-01-30 17:46:08 +00:00
spring-webmvc Polishing 2023-01-31 16:14:32 +01:00
spring-websocket Update copyright headers 2023-01-19 16:20:03 +01:00
src Reinstate checkstyle for reference docs code snippets 2022-11-25 17:32:59 +01:00
.editorconfig Add EditorConfig 2017-06-12 08:07:54 +02:00
.gitattributes Ensure line endings for binary files are not modified in Git 2019-10-18 11:56:18 +02:00
.gitignore Create framework-docs module 2022-11-02 10:59:12 +01:00
.mailmap Add Simon to mailmap 2023-01-11 15:26:31 +01:00
.sdkmanrc Updated Java 17 version in sdkmanrc 2023-01-19 10:03:18 +01:00
CODE_OF_CONDUCT.adoc URL Cleanup 2019-03-21 15:08:55 -05:00
CONTRIBUTING.md Create framework-docs module 2022-11-02 10:59:12 +01:00
LICENSE.txt Add LICENSE.txt file 2019-08-20 22:01:12 +02:00
README.md Create framework-docs module 2022-11-02 10:59:12 +01:00
SECURITY.md Update "Reporting a Vulnerability" link 2021-10-20 14:48:51 +02:00
build.gradle Fix build due to Jackson Javadoc publication changes 2023-01-29 12:35:13 +01:00
gradle.properties Next development version (v6.0.5-SNAPSHOT) 2023-01-11 12:25:34 +00:00
gradlew Upgrade Gradle wrapper 2022-11-25 23:12:08 +01:00
gradlew.bat Upgrade Gradle wrapper 2022-11-25 23:12:08 +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 Upgrade Gradle Enterprise & Conventions plugins 2023-01-10 09:10:59 +01:00
update_copyright_headers.sh Apply update_copyright_headers.sh to staged files as well 2022-11-30 15:18:11 +01:00

README.md

Spring Framework Build Status Revved up by Gradle Enterprise

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 as reference 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 Twitter. In-depth articles can be found at The Spring Blog, and releases are announced via our news feed.

License

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