servletOutputStream.flush();
} catch (IOException ex) {
log.warn(Messages.getMessage(Messages.FLUSH_BUFFERED_STREAM_ERROR), ex);
}
try {
FastBufferWriter writer = byteStream.convertToWriter(encoding);
result = new FastBufferReader(writer);
/// content = byteStream.toString(encoding);
} catch (UnsupportedEncodingException e) {
log.warn(Messages.getMessage(Messages.UNSUPPORTED_ENCODING_WARNING_2), e);
FastBufferWriter writer = byteStream.convertToWriter();
result = new FastBufferReader(writer);
/// content = byteStream.toString();
}
} else {
if (log.isDebugEnabled()) {