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

Method flushBuffer

java/org/apache/tomcat/util/buf/ByteChunk.java:539–547  ·  view source on GitHub ↗

Send the buffer to the sink. Called by append() when the limit is reached. You can also call it explicitly to force the data to be written. @throws IOException Writing overflow data to the output channel failed

()

Source from the content-addressed store, hash-verified

537 * @throws IOException Writing overflow data to the output channel failed
538 */
539 public void flushBuffer() throws IOException {
540 // assert out!=null
541 if (out == null) {
542 throw new BufferOverflowException(
543 sm.getString("chunk.overflow", Integer.valueOf(getLimit()), Integer.valueOf(buff.length)));
544 }
545 out.realWriteBytes(buff, start, end - start);
546 end = start;
547 }
548
549
550 /**

Callers 1

appendMethod · 0.95

Calls 4

getStringMethod · 0.65
realWriteBytesMethod · 0.65
valueOfMethod · 0.45
getLimitMethod · 0.45

Tested by

no test coverage detected