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

Method readFrame

java/org/apache/coyote/http2/Http2Parser.java:70–72  ·  view source on GitHub ↗

Read and process a single frame. The initial read is non-blocking to determine if a frame is present. Once the start of a frame is read, the remainder will be read using blocking IO. @return true if a frame was read otherwise false @throws IOException If an IO error occur

()

Source from the content-addressed store, hash-verified

68 * @throws IOException If an IO error occurs while trying to read a frame
69 */
70 boolean readFrame() throws Http2Exception, IOException {
71 return readFrame(false, null);
72 }
73
74
75 protected boolean readFrame(boolean block, FrameType expected) throws IOException, Http2Exception {

Callers 1

readConnectionPrefaceMethod · 0.95

Calls 15

getThreeBytesMethod · 0.95
getOneByteMethod · 0.95
valueOfMethod · 0.95
get31BitsMethod · 0.95
validateFrameMethod · 0.95
swallowPayloadMethod · 0.95
readDataFrameMethod · 0.95
readHeadersFrameMethod · 0.95
readPriorityFrameMethod · 0.95
readRstFrameMethod · 0.95
readSettingsFrameMethod · 0.95
readPushPromiseFrameMethod · 0.95

Tested by

no test coverage detected