public class ConsumingInputStream extends FilterInputStream
close().in| Constructor and Description |
|---|
ConsumingInputStream(org.apache.http.HttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, mark, markSupported, reset, skippublic ConsumingInputStream(org.apache.http.HttpResponse response)
throws IOException
response - The HTTP response to read fromIOException - If there is a problem reading from the responseNullPointerException - If the response has no message entitypublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionpublic 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.