public class ServletOutputStreamImpl extends ServletOutputStream
| Constructor and Description |
|---|
ServletOutputStreamImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
init(java.io.OutputStream out)
Initialize with the current response stream.
|
void |
print(java.lang.String s)
Prints a string to the stream.
|
java.lang.String |
toString() |
void |
write(byte[] buf,
int offset,
int len)
Writes a byte buffer to the output stream.
|
void |
write(int b)
Writes a byte to the output stream.
|
public void init(java.io.OutputStream out)
public final void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic final void write(byte[] buf,
int offset,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void print(java.lang.String s)
throws java.io.IOException
print in class ServletOutputStreams - the string to write.java.io.IOExceptionpublic final void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic final void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object