This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 2f4c9d494c Add since tags
2f4c9d494c is described below
commit 2f4c9d494ced317b3a52c5fe86f14268c88cdd79
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Apr 7 18:48:14 2026 +0100
Add since tags
---
java/jakarta/servlet/http/HttpServletResponse.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/java/jakarta/servlet/http/HttpServletResponse.java
b/java/jakarta/servlet/http/HttpServletResponse.java
index 58df63b4a3..4a20e0b05f 100644
--- a/java/jakarta/servlet/http/HttpServletResponse.java
+++ b/java/jakarta/servlet/http/HttpServletResponse.java
@@ -625,17 +625,23 @@ public interface HttpServletResponse extends
ServletResponse {
/**
* Status code (428) indicating that the origin server requires this
request to be conditional.
+ *
+ * @since Servlet 6.2
*/
int SC_PRECONDITION_REQUIRED = 428;
/**
* Status code (429) indicating that the user has sent too many requests
in a given amount of time ("rate limiting").
+ *
+ * @since Servlet 6.2
*/
int SC_TOO_MANY_REQUESTS = 429;
/**
* Status code (431) indicating that the server is unwilling to process
the request because its header fields are too
* large.
+ *
+ * @since Servlet 6.2
*/
int SC_REQUEST_HEADER_FIELDS_TOO_LARGE = 431;
@@ -674,6 +680,8 @@ public interface HttpServletResponse extends
ServletResponse {
/**
* Status code (511) indicating that the client needs to authenticate to
gain network access.
+ *
+ * @since Servlet 6.2
*/
int SC_NETWORK_AUTHENTICATION_REQUIRED = 511;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]