Skip to content

Commit c591fab

Browse files
committed
Merge branch '3.3.x'
Closes gh-42191
2 parents c460600 + 7b6997a commit c591fab

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/WebFluxProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public void setDateTime(String dateTime) {
145145
public static class Problemdetails {
146146

147147
/**
148-
* Whether RFC 7807 Problem Details support should be enabled.
148+
* Whether RFC 9457 Problem Details support should be enabled.
149149
*/
150150
private boolean enabled = false;
151151

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ public enum MatchingStrategy {
428428
public static class Problemdetails {
429429

430430
/**
431-
* Whether RFC 7807 Problem Details support should be enabled.
431+
* Whether RFC 9457 Problem Details support should be enabled.
432432
*/
433433
private boolean enabled = false;
434434

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web/reactive.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ For machine clients, it produces a JSON response with details of the error, the
181181
For browser clients, there is a "`whitelabel`" error handler that renders the same data in HTML format.
182182
You can also provide your own HTML templates to display errors (see the xref:web/reactive.adoc#web.reactive.webflux.error-handling.error-pages[next section]).
183183

184-
Before customizing error handling in Spring Boot directly, you can leverage the {url-spring-framework-docs}/web/webflux/ann-rest-exceptions.html[RFC 7807 Problem Details] support in Spring WebFlux.
184+
Before customizing error handling in Spring Boot directly, you can leverage the {url-spring-framework-docs}/web/webflux/ann-rest-exceptions.html[RFC 9457 Problem Details] support in Spring WebFlux.
185185
Spring WebFlux can produce custom error messages with the `application/problem+json` media type, like:
186186

187187
[source,json]

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web/servlet.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ TIP: The `BasicErrorController` can be used as a base class for a custom `ErrorC
350350
This is particularly useful if you want to add a handler for a new content type (the default is to handle `text/html` specifically and provide a fallback for everything else).
351351
To do so, extend `BasicErrorController`, add a public method with a `@RequestMapping` that has a `produces` attribute, and create a bean of your new type.
352352

353-
As of Spring Framework 6.0, {url-spring-framework-docs}/web/webmvc/mvc-ann-rest-exceptions.html[RFC 7807 Problem Details] is supported.
353+
As of Spring Framework 6.0, {url-spring-framework-docs}/web/webmvc/mvc-ann-rest-exceptions.html[RFC 9457 Problem Details] is supported.
354354
Spring MVC can produce custom error messages with the `application/problem+json` media type, like:
355355

356356
[source,json]

0 commit comments

Comments
 (0)