{"repo":"zalando/problem-spring-web","free":true,"listed":false,"github":"https://github.com/zalando/problem-spring-web","clone":"git clone https://github.com/zalando/problem-spring-web.git","description":"A library for handling Problems in Spring Web MVC","language":"Java","stars":1071,"topics":["java","json","exception","error","problem","rfc7807","spring","spring-boot","web","microservice"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Problems for Spring MVC and Spring WebFlux [!IMPORTANT] This project is in maintenance mode because Spring provides support for RFC 9457 through their Errors Responses feature. Please migrate to Spring's Error Responses feature for Servlet Stack and Reactive Stack. Problem Spring Web is a set of libraries that makes it easy to produce application/problem+json responses from a Spring application. It fills a niche, in that it connects the Problem library and either Spring Web MVC's exception handling or Spring WebFlux's exception handling so that they work seamlessly together, while requiring minimal additional developer effort. In doing so, it aims to perform a small but repetitive task — once and for all. The way this library works is based on what we call advice traits . An advice trait is a small, reusable @ExceptionHandler implemented as a default method placed in a single method interface. Those advice traits can be combined freely and don't require to use a common base class for your @ControllerAdvice . :mag right: Please check out Baeldung: A Guide to the Problem Spring Web Library for a detailed introduction! Features - lets you choose traits à la carte - favors composition over inheritance - 20 useful advice traits built in - Spring MVC and Spring WebFlux support - Spring Security support - customizable processing Dependencies - Java 17 - Any build tool using Maven Central, or direct download - Servlet Container for problem-spring-web or - Reactive, non-blocking runti","default_branch":null,"files":null,"tree":[],"storefront":"/r/zalando","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zalando/problem-spring-web/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}