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:
@@ -175,7 +175,7 @@ public abstract class AbstractMessageWriterResultHandler extends HandlerResultHa
|
||||
throw ex;
|
||||
}
|
||||
|
||||
// For ProblemDetail, fall back on RFC 7807 format
|
||||
// For ProblemDetail, fall back on RFC 9457 format
|
||||
if (bestMediaType == null && ProblemDetail.class.isAssignableFrom(elementType.toClass())) {
|
||||
bestMediaType = selectMediaType(exchange, () -> getMediaTypesFor(elementType), this.problemMediaTypes);
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ import org.springframework.web.server.UnsupportedMediaTypeStatusException;
|
||||
/**
|
||||
* A class with an {@code @ExceptionHandler} method that handles all Spring
|
||||
* WebFlux raised exceptions by returning a {@link ResponseEntity} with
|
||||
* RFC 7807 formatted error details in the body.
|
||||
* RFC 9457 formatted error details in the body.
|
||||
*
|
||||
* <p>Convenient as a base class of an {@link ControllerAdvice @ControllerAdvice}
|
||||
* for global exception handling in an application. Subclasses can override
|
||||
|
||||
Reference in New Issue
Block a user