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

Method fill

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

Fill the given array with data unless non-blocking is requested and no data is available. If any data is available then the buffer will be filled using blocking I/O. @param block Should the first read into the provided buffer be a blocking read or not. @param data Buffer to fill @param offset Po

(boolean block, byte[] data, int offset, int length)

Source from the content-addressed store, hash-verified

784 * @throws IOException If an I/O occurred while obtaining data with which to fill the buffer
785 */
786 boolean fill(boolean block, byte[] data, int offset, int length) throws IOException;
787
788 /**
789 * Convenience overload that fills the entire byte array.

Callers 15

parseHttp11ResponseMethod · 0.65
setEventsMethod · 0.65
runMethod · 0.65
doReadMethod · 0.65
readFrameMethod · 0.65
readDataFrameMethod · 0.65
readHeadersFrameMethod · 0.65
readRstFrameMethod · 0.65
readSettingsFrameMethod · 0.65
readPingFrameMethod · 0.65
readGoawayFrameMethod · 0.65

Implementers 2

Http2UpgradeHandlerjava/org/apache/coyote/http2/Http2Upgr
TestInputtest/org/apache/coyote/http2/Http2Test

Calls

no outgoing calls

Tested by 4

parseHttp11ResponseMethod · 0.52
setEventsMethod · 0.52
runMethod · 0.52