tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1824215 - /tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java
Date Wed, 14 Feb 2018 10:33:48 GMT
Author: markt
Date: Wed Feb 14 10:33:47 2018
New Revision: 1824215

URL: http://svn.apache.org/viewvc?rev=1824215&view=rev
Log:
Fix IDE nag

Modified:
    tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java

Modified: tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java?rev=1824215&r1=1824214&r2=1824215&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java Wed Feb 14 10:33:47 2018
@@ -337,6 +337,16 @@ class Http2Parser {
     }
 
 
+    /**
+     * This default server side implementation always throws an exception. If
+     * re-used for client side parsing, this method should be overridden with an
+     * appropriate implementation.
+     *
+     * @param streamId The pushed stream
+     * @param buffer   The payload, if available
+     *
+     * @throws Http2Exception
+     */
     protected void readPushPromiseFrame(int streamId, ByteBuffer buffer) throws Http2Exception
{
         throw new ConnectionException(sm.getString("http2Parser.processFramePushPromise",
                 connectionId, Integer.valueOf(streamId)), Http2Error.PROTOCOL_ERROR);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message