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

Method readPingFrame

java/org/apache/coyote/http2/Http2Parser.java:391–400  ·  view source on GitHub ↗
(int flags, ByteBuffer buffer)

Source from the content-addressed store, hash-verified

389
390
391 protected void readPingFrame(int flags, ByteBuffer buffer) throws IOException {
392 // Read the payload
393 byte[] payload = new byte[8];
394 if (buffer == null) {
395 input.fill(true, payload);
396 } else {
397 buffer.get(payload);
398 }
399 output.pingReceive(payload, Flags.isAck(flags));
400 }
401
402
403 protected void readGoawayFrame(int payloadSize, ByteBuffer buffer) throws IOException {

Callers 2

readFrameMethod · 0.95
completedMethod · 0.80

Calls 4

isAckMethod · 0.95
fillMethod · 0.65
getMethod · 0.65
pingReceiveMethod · 0.65

Tested by

no test coverage detected