Skip to content

Commit aef56bc

Browse files
committed
Replace RFC 7807 by RFC 9457 in documentation
This commit updates all references to RFC 7807 by RFC 9457 since the former is now obsolete. Closes gh-41260
1 parent 9a74437 commit aef56bc

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
@@ -450,7 +450,7 @@ public enum MatchingStrategy {
450450
public static class Problemdetails {
451451

452452
/**
453-
* Whether RFC 7807 Problem Details support should be enabled.
453+
* Whether RFC 9457 Problem Details support should be enabled.
454454
*/
455455
private boolean enabled = false;
456456

spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/reactive.adoc

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

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

171171
[source,json,indent=0,subs="verbatim"]

spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/servlet.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ TIP: The `BasicErrorController` can be used as a base class for a custom `ErrorC
339339
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).
340340
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.
341341

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

345345
[source,json,indent=0,subs="verbatim"]

0 commit comments

Comments
 (0)