hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1681929 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java
Date Wed, 27 May 2015 08:17:00 GMT
Author: olegk
Date: Wed May 27 08:17:00 2015
New Revision: 1681929

URL: http://svn.apache.org/r1681929
Log:
Fixed compile error

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java?rev=1681929&r1=1681928&r2=1681929&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java
Wed May 27 08:17:00 2015
@@ -59,6 +59,9 @@ public final class HttpVersion extends P
     /** HTTP protocol version 1.1 */
     public static final HttpVersion HTTP_1_1 = new HttpVersion(1, 1);
 
+    /** HTTP protocol version 2.0 */
+    public static final HttpVersion HTTP_2_0 = new HttpVersion(2, 0);
+    public static final HttpVersion HTTP_2   = HTTP_2_0;
 
     /**
      * Create an HTTP protocol version designator.



Mime
View raw message