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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user