jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java
@Override
	public PrintWriter getWriter() throws IOException {
		preResponseCommit();
		if (buffer == null) {
			return getResponse().getWriter();
		}
		return buffer.getWriter();
	}
@Override
	public PrintWriter getWriter() throws IOException {
		preResponseCommit();
		if (buffer == null) {
			return getResponse().getWriter();
		}
		return buffer.getWriter();
	}
Returns buffered writer if buffering is enabled,
otherwise returns the original writer.