responseWriter.endDocument();
responseWriter.flush();
responseWriter.close();
if (_CompressStyleOn) {
CssCompressor compressor = new CssCompressor(countingOutputWriter.getContent()); // Compressing css document and printing result in response stream
bytesLength = compressor.compress(writer, -1);
writer.flush();
writer.close();
} else {
writer.write(countingOutputWriter.getContent().toString()); // Write not compressed style content
bytesLength = countingOutputWriter.getWritten();