public void flush() throws IOException {
  if (printWriter != null) {
    printWriter.flush();
  }
  if (gzipOutputStream != null) {
    gzipOutputStream.flush();
  }
}

public void flush ( ) throws IOException { if ( printWriter != null ) { printWriter . flush ( ) ; } if ( gzipOutputStream != null ) { gzipOutputStream . flush ( ) ; } }
flushes all the streams for this response .
