public class SSLSocketChannelInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
private SSLSocketChannel |
channel |
| Constructor and Description |
|---|
SSLSocketChannelInputStream(SSLSocketChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close()
Closes the underlying SSLSocketChannel, which will also close the OutputStream and connection
|
void |
consume() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, reset, skipprivate final SSLSocketChannel channel
public SSLSocketChannelInputStream(SSLSocketChannel channel)
public void consume()
throws IOException
IOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.