Skip to content

Commit

Permalink
Replace RFC 7807 with RFC 9457 in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and rstoyanchev committed Oct 8, 2024
1 parent 3303c98 commit 1ec9a11
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
@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";


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ default void configureArgumentResolvers(ArgumentResolverConfigurer configurer) {

/**
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ default void extendHandlerExceptionResolvers(List<HandlerExceptionResolver> reso

/**
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public void setResponseBodyAdvice(@Nullable List<ResponseBodyAdvice<?>> response

/**
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public WebBindingInitializer getWebBindingInitializer() {

/**
* 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
Expand Down

0 comments on commit 1ec9a11

Please sign in to comment.