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() |
boolean |
isDataAvailable() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, reset, skip
private final SSLSocketChannel channel
public SSLSocketChannelInputStream(SSLSocketChannel channel)
public void consume() throws IOException
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public boolean isDataAvailable() throws IOException
IOException
Copyright © 2016 Apache NiFi Project. All rights reserved.