Class WebPrintWriter

java.lang.Object
java.io.Writer
java.io.PrintWriter
com.sun.faces.application.WebPrintWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class WebPrintWriter extends PrintWriter
A simple PrintWriter implementation to allow us to query whether or not the writer has been flushed or closed. This is necessary to better mimic the actual Servlet response.