Skip to content

Commit 822c6cf

Browse files
committed
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.
1 parent b224fea commit 822c6cf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spring-web/src/main/java/org/springframework/http/HttpMethod.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@ public final class HttpMethod implements Comparable<HttpMethod>, Serializable {
3737

3838
/**
3939
* The HTTP method {@code GET}.
40-
* @see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#section-9.3.1">RFC 9110, section 9.3.1</a>
40+
* @see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3">HTTP 1.1, section 9.3</a>
4141
*/
4242
public static final HttpMethod GET = new HttpMethod("GET");
4343

4444
/**
4545
* The HTTP method {@code HEAD}.
46-
* @see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#section-9.3.2">RFC 9110, section 9.3.2</a>
46+
* @see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.4">HTTP 1.1, section 9.4</a>
4747
*/
4848
public static final HttpMethod HEAD = new HttpMethod("HEAD");
4949

5050
/**
5151
* The HTTP method {@code POST}.
52-
* @see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#section-9.3.3">RFC 9110, section 9.3.3</a>
52+
* @see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5">HTTP 1.1, section 9.5</a>
5353
*/
5454
public static final HttpMethod POST = new HttpMethod("POST");
5555

5656
/**
5757
* The HTTP method {@code PUT}.
58-
* @see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#section-9.3.4">RFC 9110, section 9.3.4</a>
58+
* @see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6">HTTP 1.1, section 9.6</a>
5959
*/
6060
public static final HttpMethod PUT = new HttpMethod("PUT");
6161

@@ -67,7 +67,7 @@ public final class HttpMethod implements Comparable<HttpMethod>, Serializable {
6767

6868
/**
6969
* The HTTP method {@code DELETE}.
70-
* @see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#section-9.3.5">RFC 9110, section 9.3.5</a>
70+
* @see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7">HTTP 1.1, section 9.7</a>
7171
*/
7272
public static final HttpMethod DELETE = new HttpMethod("DELETE");
7373

@@ -79,13 +79,13 @@ public final class HttpMethod implements Comparable<HttpMethod>, Serializable {
7979

8080
/**
8181
* The HTTP method {@code OPTIONS}.
82-
* @see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#section-9.3.7">RFC 9110, section 9.3.7</a>
82+
* @see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.2">HTTP 1.1, section 9.2</a>
8383
*/
8484
public static final HttpMethod OPTIONS = new HttpMethod("OPTIONS");
8585

8686
/**
8787
* The HTTP method {@code TRACE}.
88-
* @see <a href="https://www.rfc-editor.org/rfc/rfc9110.html#section-9.3.8">RFC 9110, section 9.3.8</a>
88+
* @see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.8">HTTP 1.1, section 9.8</a>
8989
*/
9090
public static final HttpMethod TRACE = new HttpMethod("TRACE");
9191

0 commit comments

Comments
 (0)