res.setContentLength(bb.limit()); res.setContentType("text/html"); res.flushHeaders();
response.flushHeaders(); if (response.getChannel() != null) { response.getChannel().write(bb);
res.setContentLength(bb.limit()); res.setContentType("text/html"); res.flushHeaders();
response.flushHeaders(); if (response.getChannel() != null) { response.getChannel().write(bb);