Class 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.