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) |
flush
private final SSLSocketChannel channel
public SSLSocketChannelOutputStream(SSLSocketChannel channel)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2016 Apache NiFi Project. All rights reserved.