@Deprecated public class ChunkedInputStream extends InputEntityStream
InputStream to wrap a source InputStream that has been
chunked. See section 3.6.1 of HTTP Protocol for more information on chunked
encoding.| Constructor and Description |
|---|
ChunkedInputStream(Notifiable notifiable,
InputStream inboundStream)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
Closes this input stream but do not close the underlying stream.
|
protected void |
onEndReached()
Deprecated.
To be called when the end of the stream is reached.
|
int |
read()
Deprecated.
|
int |
read(byte[] b,
int off,
int len)
Deprecated.
|
getInboundStream, onErroravailable, mark, markSupported, read, reset, skippublic ChunkedInputStream(Notifiable notifiable, InputStream inboundStream)
notifiable - The notifiable connection.inboundStream - The inbound stream.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionprotected void onEndReached()
InputEntityStreamConnection#setInboundBusy(boolean)) .onEndReached in class InputEntityStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright © 2005–2016. All rights reserved.