flushResponse();
if (!_generator.isCommitted()) { commitResponse(HttpGenerator.LAST); _generator.flushBuffers(); } else flushResponse();
        public void close() throws IOException        {            if (_closed)                return;                        flushResponse();                        // TODO sometimes can do a last here!            // commitResponse(HttpGenerator.LAST);                        // TODO need IOExceptions for any further writes.                        _closed=true;        }