code: protected final void flushBuffer(boolean closeConn) throws IOException {
  	if (!flushed && closeConn) {
  	    response.setHeader("connection", "close");
  	    // if(showVersion)response.setHeader(Constants.NAME+"-Version", version);
  
  	}
  	initOut();
  	byte[] barr = _toString(true).getBytes(ReqRspUtil.getCharacterEncoding(null, response));
  
  	if (cacheItem != null && cacheItem.isValid()) {
  	    cacheItem.store(barr, flushed);
  	    // writeCache(barr,flushed);
  	}
  	flushed = true;
  	out.write(barr);
  
  	buffer = new StringBuilder(BUFFER_SIZE); // to not change to clearBuffer, produce problem with CFMLWriterWhiteSpace.clearBuffer
      }
docs: Flush the output buffer to the underlying character stream, without flushing the stream itself.
  This method is non-private only so that it may be invoked by PrintStream. @throws
  IOException @throws