Problem Spring Web: A Library for Handling Problems in Spring Web MVC

Home » Blog » Software » Enterprise Software » Problem Spring Web: A Library for Handling Problems in Spring Web MVC

Leider ist der Eintrag nur auf English verfügbar.

Problem Spring Web is an implementation of the proposed
application/problem+json HTTP API problem details response for Spring Web (im both its MVC and WebFlux flavours).

Error responses should be a first-class citizen when it comes to providing REST APIs. These responses often are generated in an ad-hoc, non-standardised fashion, which not only makes handling such responses more difficult and tedious in client applications but also makes for less maintainable software in the back-end software providing the API.

Problem Spring Web attempts to solve these issues for Spring applications by building on a defined standard for error responses.

These articles go into more detail as to best practices for handling REST APIs in general and how to use the Problem Spring Web library, specifically.

About the author: Bjoern
Independent IT consultant, entrepreneur

Leave a Comment

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)