mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffma...@apache.org
Subject git commit: Add Informational status codes
Date Sun, 07 Sep 2014 16:39:05 GMT
Repository: mina
Updated Branches:
  refs/heads/2.0 9645bc047 -> ccbf33f94


Add Informational status codes


Project: http://git-wip-us.apache.org/repos/asf/mina/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/ccbf33f9
Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/ccbf33f9
Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/ccbf33f9

Branch: refs/heads/2.0
Commit: ccbf33f9457bd7ecc3376928ee8bdf8687afa09d
Parents: 9645bc0
Author: Jeff MAURY <jeffmaury@apache.org>
Authored: Sun Sep 7 18:38:53 2014 +0200
Committer: Jeff MAURY <jeffmaury@apache.org>
Committed: Sun Sep 7 18:38:53 2014 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/mina/http/api/HttpStatus.java   | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina/blob/ccbf33f9/mina-http/src/main/java/org/apache/mina/http/api/HttpStatus.java
----------------------------------------------------------------------
diff --git a/mina-http/src/main/java/org/apache/mina/http/api/HttpStatus.java b/mina-http/src/main/java/org/apache/mina/http/api/HttpStatus.java
index 18ac72d..7f35df4 100644
--- a/mina-http/src/main/java/org/apache/mina/http/api/HttpStatus.java
+++ b/mina-http/src/main/java/org/apache/mina/http/api/HttpStatus.java
@@ -25,6 +25,14 @@ package org.apache.mina.http.api;
 public enum HttpStatus {
 
     /**
+     * 100 - Continue
+     */
+    INFORMATIONAL_CONTINUE(100, "HTTP/1.1 100 Continue"),
+    /**
+     * 101 - Switching Protocols
+     */
+    INFORMATIONAL_SWITCHING_PROTOCOLS(101, "HTTP/1.1 101 Swtiching Protocols"),
+    /**
      * 200 - OK
      */
     SUCCESS_OK(200, "HTTP/1.1 200 OK"),


Mime
View raw message