MCPcopy Index your code
hub / github.com/apache/tomcat / readPriorityFrame

Method readPriorityFrame

java/org/apache/coyote/http2/Http2Parser.java:308–317  ·  view source on GitHub ↗
(int streamId, ByteBuffer buffer)

Source from the content-addressed store, hash-verified

306
307
308 protected void readPriorityFrame(int streamId, ByteBuffer buffer) throws IOException {
309 // RFC 7450 priority frames are ignored. Still need to treat as overhead.
310 try {
311 swallowPayload(streamId, FrameType.PRIORITY.getId(), 5, false, buffer);
312 } catch (ConnectionException ignore) {
313 // Will never happen because swallowPayload() is called with isPadding set
314 // to false
315 }
316 output.increaseOverheadCount(FrameType.PRIORITY);
317 }
318
319
320 protected void readRstFrame(int streamId, ByteBuffer buffer) throws Http2Exception, IOException {

Callers 2

readFrameMethod · 0.95
completedMethod · 0.80

Calls 3

swallowPayloadMethod · 0.95
getIdMethod · 0.65
increaseOverheadCountMethod · 0.65

Tested by

no test coverage detected