com.caucho.server.connection
Class ServletOutputStreamImpl
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
com.caucho.server.connection.ServletOutputStreamImpl
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class ServletOutputStreamImpl
- extends ServletOutputStream
Implementation of the ServletOutputStream.
|
Method Summary |
void |
close()
|
void |
flush()
|
void |
init(java.io.OutputStream out)
Initialize with the current response stream. |
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. |
| Methods inherited from class javax.servlet.ServletOutputStream |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
| Methods inherited from class java.io.OutputStream |
write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletOutputStreamImpl
public ServletOutputStreamImpl()
init
public void init(java.io.OutputStream out)
- Initialize with the current response stream.
write
public final void write(int b)
throws java.io.IOException
- Writes a byte to the output stream.
- Specified by:
write in class java.io.OutputStream
- Throws:
java.io.IOException
write
public final void write(byte[] buf,
int offset,
int len)
throws java.io.IOException
- Writes a byte buffer to the output stream.
- Overrides:
write in class java.io.OutputStream
- Throws:
java.io.IOException
flush
public final void flush()
throws java.io.IOException
- Specified by:
flush in interface java.io.Flushable- Overrides:
flush in class java.io.OutputStream
- Throws:
java.io.IOException
close
public final void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.OutputStream
- Throws:
java.io.IOException