Browse Source

Replace RFC 7807 with RFC 9457 in documentation

See gh-33594
pull/33669/head
Johnny Lim 1 year ago committed by rstoyanchev
parent
commit
1ec9a115a8
  1. 2
      framework-docs/modules/ROOT/pages/web/webflux/ann-rest-exceptions.adoc
  2. 2
      framework-docs/modules/ROOT/pages/web/webmvc/mvc-ann-rest-exceptions.adoc
  3. 2
      spring-web/src/main/java/org/springframework/http/converter/json/ProblemDetailJacksonXmlMixin.java
  4. 2
      spring-webflux/src/main/java/org/springframework/web/reactive/config/WebFluxConfigurer.java
  5. 2
      spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java
  6. 2
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java
  7. 2
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java

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

@ -46,7 +46,7 @@ use a protected method to map any exception to a `ProblemDetail`. @@ -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.

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

@ -46,7 +46,7 @@ use a protected method to map any exception to a `ProblemDetail`. @@ -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.

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

@ -47,7 +47,7 @@ import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY; @@ -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";

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

@ -138,7 +138,7 @@ public interface WebFluxConfigurer { @@ -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

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

@ -224,7 +224,7 @@ public interface WebMvcConfigurer { @@ -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

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

@ -251,7 +251,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce @@ -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

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

@ -408,7 +408,7 @@ public class RequestMappingHandlerAdapter extends AbstractHandlerMethodAdapter @@ -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…
Cancel
Save