public class SSLSocketChannelOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
private SSLSocketChannel |
channel |
| Constructor and Description |
|---|
SSLSocketChannelOutputStream(SSLSocketChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying SSLSocketChannel, which also will close the InputStream and the connection
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushprivate final SSLSocketChannel channel
public SSLSocketChannelOutputStream(SSLSocketChannel channel)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2018 Apache NiFi Project. All rights reserved.