@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, onError
available, mark, markSupported, read, reset, skip
public ChunkedInputStream(Notifiable notifiable, InputStream inboundStream)
notifiable
- The notifiable connection.inboundStream
- The inbound stream.public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
protected void onEndReached()
InputEntityStream
Connection#setInboundBusy(boolean)
) .onEndReached
in class InputEntityStream
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–2017. All rights reserved.