Skip to content

Commit 46c5261

Browse files
committed
Replace RFC 7807 with RFC 9457 in documentation
See spring-projectsgh-32806
1 parent 073cfd4 commit 46c5261

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

framework-docs/modules/ROOT/pages/web/webflux/ann-rest-exceptions.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ use a protected method to map any exception to a `ProblemDetail`.
4646

4747
You can register `ErrorResponse` interceptors through the
4848
xref:web/webflux/config.adoc[WebFlux Config] with a `WebFluxConfigurer`. Use that to intercept
49-
any RFC 7807 response and take some action.
49+
any RFC 9457 response and take some action.
5050

5151

5252

framework-docs/modules/ROOT/pages/web/webmvc/mvc-ann-rest-exceptions.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ use a protected method to map any exception to a `ProblemDetail`.
4646

4747
You can register `ErrorResponse` interceptors through the
4848
xref:web/webmvc/mvc-config.adoc[MVC Config] with a `WebMvcConfigurer`. Use that to intercept
49-
any RFC 7807 response and take some action.
49+
any RFC 9457 response and take some action.
5050

5151

5252

spring-web/src/main/java/org/springframework/http/converter/json/ProblemDetailJacksonXmlMixin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
@JacksonXmlRootElement(localName = "problem", namespace = ProblemDetailJacksonXmlMixin.RFC_7807_NAMESPACE)
4848
public interface ProblemDetailJacksonXmlMixin {
4949

50-
/** RFC 7807 namespace. */
50+
/** RFC 7807 (obsoleted by RFC 9457) namespace. */
5151
String RFC_7807_NAMESPACE = "urn:ietf:rfc:7807";
5252

5353

spring-webflux/src/main/java/org/springframework/web/reactive/config/WebFluxConfigurer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ default void configureArgumentResolvers(ArgumentResolverConfigurer configurer) {
138138

139139
/**
140140
* Add to the list of {@link ErrorResponse.Interceptor}'s to invoke when
141-
* rendering an RFC 7807 {@link org.springframework.http.ProblemDetail}
141+
* rendering an RFC 9457 {@link org.springframework.http.ProblemDetail}
142142
* error response.
143143
* @param interceptors the handlers to use
144144
* @since 6.2

spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ default void extendHandlerExceptionResolvers(List<HandlerExceptionResolver> reso
224224

225225
/**
226226
* Add to the list of {@link ErrorResponse.Interceptor}'s to apply when
227-
* rendering an RFC 7807 {@link org.springframework.http.ProblemDetail}
227+
* rendering an RFC 9457 {@link org.springframework.http.ProblemDetail}
228228
* error response.
229229
* @param interceptors the interceptors to use
230230
* @since 6.2

spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public void setResponseBodyAdvice(@Nullable List<ResponseBodyAdvice<?>> response
251251

252252
/**
253253
* Configure a list of {@link ErrorResponse.Interceptor}'s to apply when
254-
* rendering an RFC 7807 {@link org.springframework.http.ProblemDetail}
254+
* rendering an RFC 9457 {@link org.springframework.http.ProblemDetail}
255255
* error response.
256256
* @param interceptors the handlers to use
257257
* @since 6.2

spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ public WebBindingInitializer getWebBindingInitializer() {
408408

409409
/**
410410
* Configure a list of {@link ErrorResponse.Interceptor}'s to apply when
411-
* rendering an RFC 7807 {@link org.springframework.http.ProblemDetail}
411+
* rendering an RFC 9457 {@link org.springframework.http.ProblemDetail}
412412
* error response.
413413
* @param interceptors the interceptors to use
414414
* @since 6.2

0 commit comments

Comments
 (0)