spring-framework/spring-web-reactive
Rossen Stoyanchev c13a8c9bb4 DispatcherHandler maps errors to ResponseStatusException
The DispatcherHandler now has an errorMapper property that is a
function for transforming errors. By default this property is set to an
instance of DispatcherHandlerExceptionMapper which wraps "standard"
framework exceptions and @ResponseStatus-annotated exceptions as
ResponseStatusException.

This makes it easy to handle the exceptions downstream uniformly.
2015-12-15 12:08:13 -05:00
..
gradle/wrapper Add gradle wrapper 2015-08-08 03:57:29 -04:00
src DispatcherHandler maps errors to ResponseStatusException 2015-12-15 12:08:13 -05:00
.gitignore Renamed 'rx' package to 'reactive' 2015-07-09 13:42:48 +02:00
README.md Add a link to Spring Reactive Playground 2015-12-09 11:18:50 +01:00
build.gradle Improve Gradle dependencies version management 2015-12-07 11:35:00 +01:00
gradle.properties Polish Gradle configuration for deployment 2015-09-11 22:46:44 +02:00
gradlew Add gradle wrapper 2015-08-08 03:57:29 -04:00
gradlew.bat Add gradle wrapper 2015-08-08 03:57:29 -04:00
settings.gradle Set Gradle project name for CI 2015-09-22 12:14:02 +02:00

README.md

Spring Reactive is a sandbox for experimenting on the reactive support intended to be part of Spring Framework 5. For more information about this topic, you can have a look to Intro to Reactive programming and Reactive Web Applications talks.

Downloading Artifacts

Spring Reactive JAR dependency is available from Spring snapshot repository:

  • Repository URL: https://repo.spring.io/snapshot/
  • GroupId: org.springframework.reactive
  • ArtifactId: spring-reactive
  • Version: 0.1.0.BUILD-SNAPSHOT

Sample application

Spring Reactive Playground is a sample application based on Spring Reactive and on MongoDB, Couchbase and PostgreSQL Reactive database drivers.

Building from Source

Spring Reactive uses a Gradle-based build system. In the instructions below, ./gradlew is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build.

You can check the current build status on this Bamboo Spring Reactive build.

Prerequisites

Git and JDK 8 update 20 or later

Be sure that your JAVA_HOME environment variable points to the jdk1.8.0 folder extracted from the JDK download.

Install all spring-* jars into your local Maven cache

./gradlew install

Compile and test; build all jars, distribution zips, and docs

./gradlew build

Contributing

Feel free to send us your feedback on the issue tracker; Pull requests are welcome.

License

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