Replace RFC7807 by RFC9457 in documentation

This commit updates all references to RFC7807 by RFC9457 since the
former is now obsolete.

Closes gh-32806
This commit is contained in:
Brian Clozel
2024-05-13 10:42:35 +02:00
parent 7536980be9
commit 89ce63f1f3
14 changed files with 32 additions and 32 deletions

View File

@@ -243,7 +243,7 @@ public abstract class AbstractMessageConverterMethodProcessor extends AbstractMe
List<MediaType> compatibleMediaTypes = new ArrayList<>();
determineCompatibleMediaTypes(acceptableTypes, producibleTypes, compatibleMediaTypes);
// For ProblemDetail, fall back on RFC 7807 format
// For ProblemDetail, fall back on RFC 9457 format
if (compatibleMediaTypes.isEmpty() && ProblemDetail.class.isAssignableFrom(valueType)) {
determineCompatibleMediaTypes(this.problemMediaTypes, producibleTypes, compatibleMediaTypes);
}

View File

@@ -58,7 +58,7 @@ import org.springframework.web.util.WebUtils;
/**
* A class with an {@code @ExceptionHandler} method that handles all Spring MVC
* raised exceptions by returning a {@link ResponseEntity} with RFC 7807
* raised exceptions by returning a {@link ResponseEntity} with RFC 9457
* formatted error details in the body.
*
* <p>Convenient as a base class of an {@link ControllerAdvice @ControllerAdvice}