class MonitoredHttpResponseContentInputStream extends MonitorInputStream
org.apache.http.client.methods.CloseableHttpResponse
on close.Modifier and Type | Field and Description |
---|---|
private org.apache.http.HttpResponse |
httpResponse |
Constructor and Description |
---|
MonitoredHttpResponseContentInputStream(org.apache.http.HttpResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
protected void |
onClose()
Called after the stream has been closed.
|
public MonitoredHttpResponseContentInputStream(org.apache.http.HttpResponse httpResponse) throws java.io.IOException
java.io.IOException
protected void onClose() throws java.io.IOException
MonitorInputStream
onClose
in class MonitorInputStream
java.io.IOException
- if an error occurs.