You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java library for RFC 9457 Problems with support for standard problem types of the Belgif REST guide (https://www.belgif.be/specification/rest/api-guide/#error-handling).
7
+
Java library for [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) Problems with support for standard problem types of
8
+
the [Belgif REST guide](https://www.belgif.be/specification/rest/api-guide/#error-handling).
9
+
10
+
With this library, RFC 9457 Problems can be treated as standard java exceptions:
11
+
12
+
* the server side can throw `io.github.belgif.rest.problem.api.Problem` exceptions (or subclasses), which are
13
+
transparently converted to RFC 9457 compliant "application/problem+json" responses
14
+
* the client side can catch `io.github.belgif.rest.problem.api.Problem` exceptions (or subclasses), which are
15
+
transparently thrown when an RFC 9457 compliant "application/problem+json" response is received
Copy file name to clipboardExpand all lines: src/main/asciidoc/index.adoc
+15-10Lines changed: 15 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,21 @@
11
11
12
12
= belgif-rest-problem
13
13
14
+
== Context
15
+
16
+
Java library for working with https://www.belgif.be/specification/rest/api-guide/#error-handling[RFC 9457 standardized Belgif problems].
17
+
18
+
With this library, RFC 9457 Problems can be treated as standard java exceptions:
19
+
20
+
* the server side can throw `io.github.belgif.rest.problem.api.Problem` exceptions (or subclasses), which are transparently converted to RFC 9457 compliant "application/problem+json" responses
21
+
* the client side can catch `io.github.belgif.rest.problem.api.Problem` exceptions (or subclasses), which are transparently thrown when an RFC 9457 compliant "application/problem+json" response is received
22
+
23
+
The library consists of these modules:
24
+
25
+
* <<belgif-rest-problem>>: library for RFC 9457 standardized Belgif problems
26
+
* <<belgif-rest-problem-java-ee>>: Java EE / Jakarta EE integration for belgif-rest-problem
27
+
* <<belgif-rest-problem-spring>>: Spring Boot integration for belgif-rest-problem
28
+
14
29
== Release notes
15
30
16
31
=== Version 0.2
@@ -33,16 +48,6 @@
33
48
34
49
Initial release under Belgif organization.
35
50
36
-
== Context
37
-
38
-
Java library for working with https://www.belgif.be/specification/rest/api-guide/#error-handling[RFC 9457 standardized Belgif problems].
39
-
40
-
The library consists of these modules:
41
-
42
-
* <<belgif-rest-problem>>: library for RFC 9457 standardized Belgif problems
43
-
* <<belgif-rest-problem-java-ee>>: Java EE / Jakarta EE integration for belgif-rest-problem
44
-
* <<belgif-rest-problem-spring>>: Spring Boot integration for belgif-rest-problem
0 commit comments