Replace RFC 7807 with RFC 9457 in documentation
See gh-33594
This commit is contained in:
parent
3303c98650
commit
1ec9a115a8
|
|
@ -46,7 +46,7 @@ use a protected method to map any exception to a `ProblemDetail`.
|
|||
|
||||
You can register `ErrorResponse` interceptors through the
|
||||
xref:web/webflux/config.adoc[WebFlux Config] with a `WebFluxConfigurer`. Use that to intercept
|
||||
any RFC 7807 response and take some action.
|
||||
any RFC 9457 response and take some action.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ use a protected method to map any exception to a `ProblemDetail`.
|
|||
|
||||
You can register `ErrorResponse` interceptors through the
|
||||
xref:web/webmvc/mvc-config.adoc[MVC Config] with a `WebMvcConfigurer`. Use that to intercept
|
||||
any RFC 7807 response and take some action.
|
||||
any RFC 9457 response and take some action.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY;
|
|||
@JacksonXmlRootElement(localName = "problem", namespace = ProblemDetailJacksonXmlMixin.RFC_7807_NAMESPACE)
|
||||
public interface ProblemDetailJacksonXmlMixin {
|
||||
|
||||
/** RFC 7807 namespace. */
|
||||
/** RFC 7807 (obsoleted by RFC 9457) namespace. */
|
||||
String RFC_7807_NAMESPACE = "urn:ietf:rfc:7807";
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ public interface WebFluxConfigurer {
|
|||
|
||||
/**
|
||||
* Add to the list of {@link ErrorResponse.Interceptor}'s to invoke when
|
||||
* rendering an RFC 7807 {@link org.springframework.http.ProblemDetail}
|
||||
* rendering an RFC 9457 {@link org.springframework.http.ProblemDetail}
|
||||
* error response.
|
||||
* @param interceptors the handlers to use
|
||||
* @since 6.2
|
||||
|
|
|
|||
|
|
@ -224,7 +224,7 @@ public interface WebMvcConfigurer {
|
|||
|
||||
/**
|
||||
* Add to the list of {@link ErrorResponse.Interceptor}'s to apply when
|
||||
* rendering an RFC 7807 {@link org.springframework.http.ProblemDetail}
|
||||
* rendering an RFC 9457 {@link org.springframework.http.ProblemDetail}
|
||||
* error response.
|
||||
* @param interceptors the interceptors to use
|
||||
* @since 6.2
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
|
|||
|
||||
/**
|
||||
* Configure a list of {@link ErrorResponse.Interceptor}'s to apply when
|
||||
* rendering an RFC 7807 {@link org.springframework.http.ProblemDetail}
|
||||
* rendering an RFC 9457 {@link org.springframework.http.ProblemDetail}
|
||||
* error response.
|
||||
* @param interceptors the handlers to use
|
||||
* @since 6.2
|
||||
|
|
|
|||
|
|
@ -408,7 +408,7 @@ public class RequestMappingHandlerAdapter extends AbstractHandlerMethodAdapter
|
|||
|
||||
/**
|
||||
* Configure a list of {@link ErrorResponse.Interceptor}'s to apply when
|
||||
* rendering an RFC 7807 {@link org.springframework.http.ProblemDetail}
|
||||
* rendering an RFC 9457 {@link org.springframework.http.ProblemDetail}
|
||||
* error response.
|
||||
* @param interceptors the interceptors to use
|
||||
* @since 6.2
|
||||
|
|
|
|||
Loading…
Reference in New Issue