public class HttpInputStream extends FilterInputStream
in| Constructor and Description |
|---|
HttpInputStream(org.apache.http.impl.client.CloseableHttpClient http,
org.apache.http.client.methods.CloseableHttpResponse response,
InputStream httpContent) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.http.client.methods.CloseableHttpResponse |
getResponse() |
int |
read() |
int |
status() |
available, mark, markSupported, read, read, reset, skippublic HttpInputStream(org.apache.http.impl.client.CloseableHttpClient http,
org.apache.http.client.methods.CloseableHttpResponse response,
InputStream httpContent)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionpublic org.apache.http.client.methods.CloseableHttpResponse getResponse()
public int status()
Copyright © 2018. All rights reserved.