public class ConsumingInputStream extends ContentLengthInputStream
close().in| Constructor and Description |
|---|
ConsumingInputStream(org.apache.http.HttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
getLengthavailable, mark, markSupported, read, read, read, 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 FilterInputStreamIOExceptionCopyright © 2015. All rights reserved.