Closeable, AutoCloseablepublic class HTTPChunkedInputStream extends InputStream
| Modifier and Type | Field | Description |
|---|---|---|
protected byte[] |
_buf |
|
protected boolean |
_eof |
|
protected InputStream |
_in |
|
protected int |
_index |
|
protected int |
_max |
| Constructor | Description |
|---|---|
HTTPChunkedInputStream(InputStream in) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
|
void |
close() |
|
int |
read() |
|
int |
read(byte[] buffer,
int off,
int len) |
mark, markSupported, read, readAllBytes, readNBytes, reset, skip, transferToprotected byte[] _buf
protected int _index
protected int _max
protected boolean _eof
protected InputStream _in
public HTTPChunkedInputStream(InputStream in)
public int read(byte[] buffer,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class InputStreamIOExceptionCopyright © 2018. All rights reserved.