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

Method flushBufferedWrite

java/org/apache/coyote/ajp/AjpProcessor.java:298–310  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

296 // --------------------------------------------------------- Public Methods
297
298 @Override
299 protected boolean flushBufferedWrite() throws IOException {
300 if (hasDataToWrite()) {
301 socketWrapper.flush(false);
302 if (hasDataToWrite()) {
303 // There is data to write but go via Response to
304 // maintain a consistent view of non-blocking state
305 response.checkRegisterForWrite();
306 return true;
307 }
308 }
309 return false;
310 }
311
312
313 @Override

Callers 1

asyncPostProcessMethod · 0.45

Calls 3

hasDataToWriteMethod · 0.95
flushMethod · 0.65
checkRegisterForWriteMethod · 0.45

Tested by

no test coverage detected