11/*
2- * Copyright (c) 2023 Oracle and/or its affiliates.
2+ * Copyright (c) 2024 Oracle and/or its affiliates.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -56,6 +56,14 @@ public class Status {
5656 * .
5757 */
5858 public static final Status ACCEPTED_202 = new Status (202 , "Accepted" , true );
59+ /**
60+ * 203 Non-Authoritative Information, see
61+ * <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.4">HTTP/1.1 documentation</a>.
62+ *
63+ * @since 4.0.6
64+ */
65+ public static final Status NON_AUTHORITATIVE_INFORMATION_203 = new Status (203 , "Non-Authoritative Information" , true );
66+
5967 /**
6068 * 204 No Content, see
6169 * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.5">HTTP/1.1 documentation</a>.
@@ -75,6 +83,13 @@ public class Status {
7583 * @since 2.0
7684 */
7785 public static final Status PARTIAL_CONTENT_206 = new Status (206 , "Partial Content" , true );
86+ /**
87+ * 207 Multi-Status, see
88+ * <a href="https://www.rfc-editor.org/rfc/rfc4918.html#section-13">RFC 4918 - HTTP Extensions for WebDAV</a>.
89+ *
90+ * @since 4.0.6
91+ */
92+ public static final Status MULTI_STATUS_207 = new Status (207 , "Multi-Status" , true );
7893 /**
7994 * 301 Moved Permanently, see
8095 * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2">HTTP/1.1 documentation</a>.
@@ -298,6 +313,37 @@ public class Status {
298313 * @since 3.0.3
299314 */
300315 public static final Status HTTP_VERSION_NOT_SUPPORTED_505 = new Status (505 , "HTTP Version Not Supported" , true );
316+ /**
317+ * 507 Insufficient Storage, see
318+ * <a href="http://www.ietf.org/rfc/rfc4918.txt">WebDAV documentation</a>.
319+ *
320+ * @since 4.0.6
321+ */
322+ public static final Status INSUFFICIENT_STORAGE_507 = new Status (507 , "Insufficient Storage" , true );
323+ /**
324+ * 508 Loop Detected, see
325+ * <a href="https://www.rfc-editor.org/rfc/rfc5842#section-7.2">RFC 5842 - Bindings for the Constrained Application Protocol (CoAP)</a>.
326+ *
327+ * @since 4.0.6
328+ */
329+ public static final Status LOOP_DETECTED_508 = new Status (508 , "Loop Detected" , true );
330+
331+ /**
332+ * 510 Not Extended, see
333+ * <a href="https://www.rfc-editor.org/rfc/rfc2774#section-7">RFC 2774 - An HTTP Extension Framework</a>.
334+ *
335+ * @since 4.0.6
336+ */
337+ public static final Status NOT_EXTENDED_510 = new Status (510 , "Not Extended" , true );
338+
339+ /**
340+ * 511 Network Authentication Required, see
341+ * <a href="https://www.rfc-editor.org/rfc/rfc6585#section-6">RFC 6585 - Additional HTTP Status Codes</a>.
342+ *
343+ * @since 4.0.6
344+ */
345+ public static final Status NETWORK_AUTHENTICATION_REQUIRED_511 = new Status (511 , "Network Authentication Required" , true );
346+
301347
302348 static {
303349 // THIS MUST BE AFTER THE LAST CONSTANT
0 commit comments