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

Method flushBuffer

java/org/apache/tomcat/util/buf/CharChunk.java:379–387  ·  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

377 * @throws IOException Writing overflow data to the output channel failed
378 */
379 public void flushBuffer() throws IOException {
380 // assert out!=null
381 if (out == null) {
382 throw new IOException(
383 sm.getString("chunk.overflow", Integer.valueOf(getLimit()), Integer.valueOf(buff.length)));
384 }
385 out.realWriteChars(buff, start, end - start);
386 end = start;
387 }
388
389
390 /**

Callers 1

appendMethod · 0.95

Calls 4

getStringMethod · 0.65
realWriteCharsMethod · 0.65
valueOfMethod · 0.45
getLimitMethod · 0.45

Tested by

no test coverage detected