@@ -688,13 +688,19 @@ public enum ProblemStatus {
688688 /** Title of {@link #PROCESSING}. */
689689 public static final String PROCESSING_TITLE = "Processing" ;
690690
691- /** Status of {@link #CHECKPOINT}. */
692- @ Deprecated
693- public static final int CHECKPOINT_STATUS = 103 ;
691+ /**
692+ * Status of {@link #CHECKPOINT}.
693+ *
694+ * @deprecated Renamed to {@link #EARLY_HINTS} by RFC 8297.
695+ */
696+ @ Deprecated public static final int CHECKPOINT_STATUS = 103 ;
694697
695- /** Title of {@link #CHECKPOINT}. */
696- @ Deprecated
697- public static final String CHECKPOINT_TITLE = "Checkpoint" ;
698+ /**
699+ * Title of {@link #CHECKPOINT}.
700+ *
701+ * @deprecated Renamed to {@link #EARLY_HINTS} by RFC 8297.
702+ */
703+ @ Deprecated public static final String CHECKPOINT_TITLE = "Checkpoint" ;
698704
699705 /** Status of {@link #EARLY_HINTS}. */
700706 public static final int EARLY_HINTS_STATUS = 103 ;
@@ -792,13 +798,19 @@ public enum ProblemStatus {
792798 /** Title of {@link #NOT_MODIFIED}. */
793799 public static final String NOT_MODIFIED_TITLE = "Not Modified" ;
794800
795- /** Status of {@link #USE_PROXY}. */
796- @ Deprecated
797- public static final int USE_PROXY_STATUS = 305 ;
801+ /**
802+ * Status of {@link #USE_PROXY}.
803+ *
804+ * @deprecated Obsoleted by RFC 7231. "Use Proxy" is no longer recommended.
805+ */
806+ @ Deprecated public static final int USE_PROXY_STATUS = 305 ;
798807
799- /** Title of {@link #USE_PROXY}. */
800- @ Deprecated
801- public static final String USE_PROXY_TITLE = "Use Proxy" ;
808+ /**
809+ * Title of {@link #USE_PROXY}.
810+ *
811+ * @deprecated Obsoleted by RFC 7231. "Use Proxy" is no longer recommended.
812+ */
813+ @ Deprecated public static final String USE_PROXY_TITLE = "Use Proxy" ;
802814
803815 /** Status of {@link #TEMPORARY_REDIRECT}. */
804816 public static final int TEMPORARY_REDIRECT_STATUS = 307 ;
@@ -890,35 +902,56 @@ public enum ProblemStatus {
890902 /** Title of {@link #PRECONDITION_FAILED}. */
891903 public static final String PRECONDITION_FAILED_TITLE = "Precondition Failed" ;
892904
893- /** Status of {@link #REQUEST_ENTITY_TOO_LARGE}. */
894- @ Deprecated
895- public static final int REQUEST_ENTITY_TOO_LARGE_STATUS = 413 ;
905+ /**
906+ * Status of {@link #REQUEST_ENTITY_TOO_LARGE}.
907+ *
908+ * @deprecated Renamed to {@link #PAYLOAD_TOO_LARGE} in RFC 7231, then to {@link
909+ * #CONTENT_TOO_LARGE} in RFC 9110.
910+ */
911+ @ Deprecated public static final int REQUEST_ENTITY_TOO_LARGE_STATUS = 413 ;
896912
897- /** Title of {@link #REQUEST_ENTITY_TOO_LARGE}. */
913+ /**
914+ * Title of {@link #REQUEST_ENTITY_TOO_LARGE}.
915+ *
916+ * @deprecated Renamed to {@link #PAYLOAD_TOO_LARGE} in RFC 7231, then to {@link
917+ * #CONTENT_TOO_LARGE} in RFC 9110.
918+ */
898919 @ Deprecated
899920 public static final String REQUEST_ENTITY_TOO_LARGE_TITLE = "Request Entity Too Large" ;
900921
901- /** Status of {@link #PAYLOAD_TOO_LARGE}. */
902- @ Deprecated
903- public static final int PAYLOAD_TOO_LARGE_STATUS = 413 ;
922+ /**
923+ * Status of {@link #PAYLOAD_TOO_LARGE}.
924+ *
925+ * @deprecated Renamed to {@link #CONTENT_TOO_LARGE} in RFC 9110.
926+ */
927+ @ Deprecated public static final int PAYLOAD_TOO_LARGE_STATUS = 413 ;
904928
905- /** Title of {@link #PAYLOAD_TOO_LARGE}. */
906- @ Deprecated
907- public static final String PAYLOAD_TOO_LARGE_TITLE = "Payload Too Large" ;
929+ /**
930+ * Title of {@link #PAYLOAD_TOO_LARGE}.
931+ *
932+ * @deprecated Renamed to {@link #CONTENT_TOO_LARGE} in RFC 9110.
933+ */
934+ @ Deprecated public static final String PAYLOAD_TOO_LARGE_TITLE = "Payload Too Large" ;
908935
909936 /** Status of {@link #CONTENT_TOO_LARGE}. */
910937 public static final int CONTENT_TOO_LARGE_STATUS = 413 ;
911938
912939 /** Title of {@link #CONTENT_TOO_LARGE}. */
913940 public static final String CONTENT_TOO_LARGE_TITLE = "Content Too Large" ;
914941
915- /** Status of {@link #REQUEST_URI_TOO_LONG}. */
916- @ Deprecated
917- public static final int REQUEST_URI_TOO_LONG_STATUS = 414 ;
942+ /**
943+ * Status of {@link #REQUEST_URI_TOO_LONG}.
944+ *
945+ * @deprecated Renamed to {@link #URI_TOO_LONG} by RFC 8297.
946+ */
947+ @ Deprecated public static final int REQUEST_URI_TOO_LONG_STATUS = 414 ;
918948
919- /** Title of {@link #REQUEST_URI_TOO_LONG}. */
920- @ Deprecated
921- public static final String REQUEST_URI_TOO_LONG_TITLE = "Request-URI Too Long" ;
949+ /**
950+ * Title of {@link #REQUEST_URI_TOO_LONG}.
951+ *
952+ * @deprecated Renamed to {@link #URI_TOO_LONG} by RFC 8297.
953+ */
954+ @ Deprecated public static final String REQUEST_URI_TOO_LONG_TITLE = "Request-URI Too Long" ;
922955
923956 /** Status of {@link #URI_TOO_LONG}. */
924957 public static final int URI_TOO_LONG_STATUS = 414 ;
@@ -932,11 +965,18 @@ public enum ProblemStatus {
932965 /** Title of {@link #UNSUPPORTED_MEDIA_TYPE}. */
933966 public static final String UNSUPPORTED_MEDIA_TYPE_TITLE = "Unsupported Media Type" ;
934967
935- /** Status of {@link #REQUESTED_RANGE_NOT_SATISFIABLE}. */
936- @ Deprecated
937- public static final int REQUESTED_RANGE_NOT_SATISFIABLE_STATUS = 416 ;
968+ /**
969+ * Status of {@link #REQUESTED_RANGE_NOT_SATISFIABLE}.
970+ *
971+ * @deprecated renamed to {@link #RANGE_NOT_SATISFIABLE} by RFC 9110.
972+ */
973+ @ Deprecated public static final int REQUESTED_RANGE_NOT_SATISFIABLE_STATUS = 416 ;
938974
939- /** Title of {@link #REQUESTED_RANGE_NOT_SATISFIABLE}. */
975+ /**
976+ * Title of {@link #REQUESTED_RANGE_NOT_SATISFIABLE}.
977+ *
978+ * @deprecated renamed to {@link #RANGE_NOT_SATISFIABLE} by RFC 9110.
979+ */
940980 @ Deprecated
941981 public static final String REQUESTED_RANGE_NOT_SATISFIABLE_TITLE =
942982 "Requested Range Not Satisfiable" ;
@@ -965,13 +1005,19 @@ public enum ProblemStatus {
9651005 /** Title of {@link #MISDIRECTED_REQUEST}. */
9661006 public static final String MISDIRECTED_REQUEST_TITLE = "Misdirected Request" ;
9671007
968- /** Status of {@link #UNPROCESSABLE_ENTITY}. */
969- @ Deprecated
970- public static final int UNPROCESSABLE_ENTITY_STATUS = 422 ;
1008+ /**
1009+ * Status of {@link #UNPROCESSABLE_ENTITY}.
1010+ *
1011+ * @deprecated renamed to {@link #UNPROCESSABLE_CONTENT} by RFC 9110.
1012+ */
1013+ @ Deprecated public static final int UNPROCESSABLE_ENTITY_STATUS = 422 ;
9711014
972- /** Title of {@link #UNPROCESSABLE_ENTITY}. */
973- @ Deprecated
974- public static final String UNPROCESSABLE_ENTITY_TITLE = "Unprocessable Entity" ;
1015+ /**
1016+ * Title of {@link #UNPROCESSABLE_ENTITY}.
1017+ *
1018+ * @deprecated renamed to {@link #UNPROCESSABLE_CONTENT} by RFC 9110.
1019+ */
1020+ @ Deprecated public static final String UNPROCESSABLE_ENTITY_TITLE = "Unprocessable Entity" ;
9751021
9761022 /** Status of {@link #UNPROCESSABLE_CONTENT}. */
9771023 public static final int UNPROCESSABLE_CONTENT_STATUS = 422 ;
0 commit comments