Closeable
, AutoCloseable
public 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, transferTo
protected 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 InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
close
in class InputStream
IOException
Copyright © 2018. All rights reserved.