Backstopper is a framework-agnostic API error handling and (optional) model validation solution for Java 17 and greater.
(NOTE: The Backstopper 1.x branch contains a version of
Backstopper for Java 7+, and for the javax
ecosystem. The current Backstopper supports Java 17+ and the jakarta
ecosystem. The Backstopper 1.x releases also contain support for Spring 4 and 5, and Springboot 1 and 2.)
This backstopper-spring-web
module is not meant to be used standalone. It is here to provide common code for any
spring-web*
based application, including both Spring Web MVC and Spring WebFlux applications. But this module
does not provide Spring+Backstopper integration by itself.
To integrate Backstopper with your Spring application, please choose the correct concrete integration library, depending on which Spring environment your application is running in:
- backstopper-spring-web-flux - For Spring WebFlux applications.
- backstopper-spring-boot3-webmvc - For Spring Boot 3 applications using the Spring MVC (Servlet) framework. If you want Spring Boot 3 with Spring WebFlux (Netty) framework, then see backstopper-spring-web-flux instead.
- backstopper-spring-web-mvc - For Spring Web MVC applications that are not Spring Boot.
The links above will take you to an integration-focused readme that will tell you how to integrate Backstopper into your Spring Web MVC or WebFlux application. If you are looking for a different framework integration check out the relevant section of the base readme to see if one already exists.
See the base project README.md, User Guide, and Backstopper repository source code and javadocs for all further information.
Backstopper is released under the Apache License, Version 2.0