From 822c6cf47f5456e5a54023a0f6a460e3e88ff3a6 Mon Sep 17 00:00:00 2001 From: Vladimir Perfilev Date: Mon, 6 Jan 2025 10:28:29 +0100 Subject: [PATCH] Revert "Update @see links for HttpMethods to reference RFC 9110" This reverts commit 5489d56 as it is unrelated to the addition of CONNECT to HttpMethod. --- .../java/org/springframework/http/HttpMethod.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/HttpMethod.java b/spring-web/src/main/java/org/springframework/http/HttpMethod.java index 55ad75ec3fb..5a118507367 100644 --- a/spring-web/src/main/java/org/springframework/http/HttpMethod.java +++ b/spring-web/src/main/java/org/springframework/http/HttpMethod.java @@ -37,25 +37,25 @@ public final class HttpMethod implements Comparable, Serializable { /** * The HTTP method {@code GET}. - * @see RFC 9110, section 9.3.1 + * @see HTTP 1.1, section 9.3 */ public static final HttpMethod GET = new HttpMethod("GET"); /** * The HTTP method {@code HEAD}. - * @see RFC 9110, section 9.3.2 + * @see HTTP 1.1, section 9.4 */ public static final HttpMethod HEAD = new HttpMethod("HEAD"); /** * The HTTP method {@code POST}. - * @see RFC 9110, section 9.3.3 + * @see HTTP 1.1, section 9.5 */ public static final HttpMethod POST = new HttpMethod("POST"); /** * The HTTP method {@code PUT}. - * @see RFC 9110, section 9.3.4 + * @see HTTP 1.1, section 9.6 */ public static final HttpMethod PUT = new HttpMethod("PUT"); @@ -67,7 +67,7 @@ public final class HttpMethod implements Comparable, Serializable { /** * The HTTP method {@code DELETE}. - * @see RFC 9110, section 9.3.5 + * @see HTTP 1.1, section 9.7 */ public static final HttpMethod DELETE = new HttpMethod("DELETE"); @@ -79,13 +79,13 @@ public final class HttpMethod implements Comparable, Serializable { /** * The HTTP method {@code OPTIONS}. - * @see RFC 9110, section 9.3.7 + * @see HTTP 1.1, section 9.2 */ public static final HttpMethod OPTIONS = new HttpMethod("OPTIONS"); /** * The HTTP method {@code TRACE}. - * @see RFC 9110, section 9.3.8 + * @see HTTP 1.1, section 9.8 */ public static final HttpMethod TRACE = new HttpMethod("TRACE");