public class ClosingInputStream extends InputEntityStream
Constructor and Description |
---|
ClosingInputStream(Notifiable notifiable,
InputStream inboundStream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
getInboundStream, onEndReached, onError
available, close, mark, markSupported, read, reset, skip
public ClosingInputStream(Notifiable notifiable, InputStream inboundStream)
notifiable
- The notifiable connection.inboundStream
- The inbound stream.public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
Copyright © 2005–2016. All rights reserved.