Package org.apache.jasper.runtime
Class ServletResponseWrapperInclude.PrintWriterWrapper
- java.lang.Object
-
- java.io.Writer
-
- java.io.PrintWriter
-
- org.apache.jasper.runtime.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
-
Constructor Summary
Constructors Constructor Description PrintWriterWrapper(JspWriterImpl jspWriter)
-
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
-
-
-
-
Field Detail
-
jspWriter
private JspWriterImpl jspWriter
-
-
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 interfaceByteWriter
- Parameters:
buff
- A byte arrayoff
- Offset from which to start reading bytelen
- Number of bytes to write- Throws:
java.io.IOException
-
-