@Deprecated public abstract class InputEntityStream extends InputStream
| Constructor and Description |
|---|
InputEntityStream(Notifiable notifiable,
InputStream inboundStream)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected InputStream |
getInboundStream()
Deprecated.
Returns the inbound stream.
|
protected void |
onEndReached()
Deprecated.
To be called when the end of the stream is reached.
|
protected void |
onError()
Deprecated.
To be called when there is an error when handling the stream.
|
available, close, mark, markSupported, read, read, read, reset, skippublic InputEntityStream(Notifiable notifiable, InputStream inboundStream)
notifiable - The notifiable connection.inboundStream - The inbound stream.protected InputStream getInboundStream()
protected void onEndReached()
Connection#setInboundBusy(boolean)) .protected void onError()
onEndReached() and set the state of the connection to
ConnectionState#CLOSING in order to release this stream.Copyright © 2005–2016. All rights reserved.