public void flush() throws IOException {
  if (writer != null) {
    writer.flush();
  }
  outstr.flush();
}

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