Use correct RFC number for ProblemDetail support in Javadoc
Closes gh-29302
This commit is contained in:
parent
ba0a835880
commit
19cbba6b34
|
|
@ -27,7 +27,7 @@ import org.springframework.lang.Nullable;
|
|||
|
||||
/**
|
||||
* Representation of a complete RFC 7807 error response including status,
|
||||
* headers, and an RFC 7808 formatted {@link ProblemDetail} body. Allows any
|
||||
* headers, and an RFC 7807 formatted {@link ProblemDetail} body. Allows any
|
||||
* exception to expose HTTP error response information.
|
||||
*
|
||||
* <p>{@link ErrorResponseException} is a default implementation of this
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import org.springframework.lang.Nullable;
|
|||
|
||||
/**
|
||||
* {@link RuntimeException} that implements {@link ErrorResponse} to expose
|
||||
* an HTTP status, response headers, and a body formatted as an RFC 7808
|
||||
* an HTTP status, response headers, and a body formatted as an RFC 7807
|
||||
* {@link ProblemDetail}.
|
||||
*
|
||||
* <p>The exception can be used as is, or it can be extended as a more specific
|
||||
|
|
|
|||
Loading…
Reference in New Issue