Go to file
Sam Brannen 959e6d1745 Handle empty file input in HtmlUnitRequestBuilder
Prior to this commit, when using HtmlUnit with empty file input,
MockMvc's HtmlUnitRequestBuilder would throw a NullPointerException
when attempting to create a MockPart based on the null File.

This commit ensures that empty file input is converted to a MockPart
with a valid name but with a null filename, a null content type, and
empty content.

Closes gh-26799
2021-05-05 18:11:15 +02:00
.github
buildSrc
ci Make script executable 2021-05-05 14:26:12 +02:00
framework-bom
gradle Store resolved toolchain info as custom values in build scan 2021-05-05 15:19:27 +02:00
integration-tests
spring-aop Polishing 2021-04-29 16:53:53 +02:00
spring-aspects
spring-beans Avoid memory leak when PropertyComparator is reused 2021-04-30 15:08:32 +02:00
spring-context Polish Javadoc for MessageSourceSupport 2021-04-29 17:49:29 +02:00
spring-context-indexer
spring-context-support
spring-core Follow contract of computeIfAbsent LinkedCaseInsensitiveMap 2021-04-30 15:49:00 +02:00
spring-expression Polish SpEL SelectionAndProjectionTests 2021-04-26 16:23:21 +02:00
spring-instrument
spring-jcl
spring-jdbc Support safe-updates mode in MySQLMaxValueIncrementer 2021-04-29 15:37:40 +02:00
spring-jms
spring-messaging Fix Gradle Java Toolchain configuration 2021-05-03 15:02:09 +02:00
spring-orm
spring-oxm Polish Jaxb2MarshallerTests 2021-05-04 13:46:31 +02:00
spring-r2dbc
spring-test Handle empty file input in HtmlUnitRequestBuilder 2021-05-05 18:11:15 +02:00
spring-tx
spring-web HttpMethod#matches compares by String equality 2021-05-04 12:09:35 +01:00
spring-webflux Update @since tag due to backport 2021-05-04 10:59:49 +02:00
spring-webmvc Use HttpMethod enums 2021-05-04 12:09:35 +01:00
spring-websocket
src Fix MethodMatcher API doc description 2021-05-05 12:21:46 +02:00
.editorconfig
.gitattributes
.gitignore
.mailmap
CODE_OF_CONDUCT.adoc
CONTRIBUTING.md
LICENSE.txt
README.md
SECURITY.md
build.gradle Switch to Reactor 2020.0.7 snapshots 2021-05-04 16:25:00 +01:00
gradle.properties
gradlew
gradlew.bat
import-into-eclipse.md
import-into-idea.md
settings.gradle Store resolved toolchain info as custom values in build scan 2021-05-05 15:19:27 +02: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.