code: public void flush()
          throws IOException
      {
          OutputStream os = this.os;
          this.os = null;
  
          if (os != null)
              server.flush(channel);
      }
docs: Flush data to the output stream.