jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java
public void writeContentToResponse() throws IOException {
		if (buffer == null) {
			return;
		}
		if (buffer.isUsingStream()) {
			ServletOutputStream outputStream = getResponse().getOutputStream();
			outputStream.write(buffer.toByteArray());
			outputStream.flush();
		} else {
			Writer out = getResponse().getWriter();
			out.write(buffer.toCharArray());
			out.flush();
		}
	}
public void writeContentToResponse() throws IOException {
		if (buffer == null) {
			return;
		}
		if (buffer.isUsingStream()) {
			ServletOutputStream outputStream = getResponse().getOutputStream();
			outputStream.write(buffer.toByteArray());
			outputStream.flush();
		} else {
			Writer out = getResponse().getWriter();
			out.write(buffer.toCharArray());
			out.flush();
		}
	}
public void writeContentToResponse ( ) throws IOException { if ( buffer == null ) { return ; } if ( buffer . isUsingStream ( ) ) { ServletOutputStream outputStream = getResponse ( ) . getOutputStream ( ) ; outputStream . write ( buffer . toByteArray ( ) ) ; outputStream . flush ( ) ; } else { Writer out = getResponse ( ) . getWriter ( ) ; out . write ( buffer . toCharArray ( ) ) ; out . flush ( ) ; } }
Writes (unmodified) buffered content, using either output stream or writer.
May be used for writing the unmodified response. Of course, you may
{@link #print(String) modify} buffered data by altering the buffer content.
Writes ( unmodified ) buffered content using either output stream or writer . May be used for writing the unmodified response . Of course you may {