Class ServletResponseWrapperInclude.PrintWriterWrapper

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable, ByteWriter
    Enclosing class:
    ServletResponseWrapperInclude

    private static class ServletResponseWrapperInclude.PrintWriterWrapper
    extends java.io.PrintWriter
    implements ByteWriter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private JspWriterImpl jspWriter  
      • Fields inherited from class java.io.PrintWriter

        out
      • Fields inherited from class java.io.Writer

        lock
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(byte[] buff, int off, int len)
      Write a portion of a byte array to the output.
      • Methods inherited from class java.io.PrintWriter

        append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
      • Methods inherited from class java.io.Writer

        nullWriter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrintWriterWrapper

        PrintWriterWrapper​(JspWriterImpl jspWriter)
    • Method Detail

      • write

        public void write​(byte[] buff,
                          int off,
                          int len)
                   throws java.io.IOException
        Description copied from interface: ByteWriter
        Write a portion of a byte array to the output.
        Specified by:
        write in interface ByteWriter
        Parameters:
        buff - A byte array
        off - Offset from which to start reading byte
        len - Number of bytes to write
        Throws:
        java.io.IOException