public class ContentLengthInputStream extends FilterInputStream
in| Constructor and Description |
|---|
ContentLengthInputStream(org.apache.http.HttpResponse response) |
ContentLengthInputStream(InputStream in,
Long length) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getLength() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, reset, skippublic ContentLengthInputStream(org.apache.http.HttpResponse response)
throws IOException
IOExceptionpublic ContentLengthInputStream(InputStream in, Long length)
public Long getLength()
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionCopyright © 2019. All rights reserved.