public class ClientOutputStream extends OutputStream
OutputStream so that we can distinguish errors writing to clients.
Those are normally caused by a browser aborting a connection, and note worthwhile to report to log.
| Constructor and Description |
|---|
ClientOutputStream(OutputStream out) |
public ClientOutputStream(OutputStream out)
public void write(int b)
throws ClientSocketException
write in class OutputStreamClientSocketExceptionpublic void write(byte[] b)
throws ClientSocketException
write in class OutputStreamClientSocketExceptionpublic void write(byte[] b,
int off,
int len)
throws ClientSocketException
write in class OutputStreamClientSocketExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2014. All rights reserved.