Class EofSensorInputStream

java.lang.Object
java.io.InputStream
org.apache.http.conn.EofSensorInputStream
All Implemented Interfaces:
Closeable, AutoCloseable, ConnectionReleaseTrigger

public class EofSensorInputStream extends InputStream implements ConnectionReleaseTrigger
A stream wrapper that triggers actions on close() and EOF. Primarily used to auto-release an underlying managed connection when the response body is consumed or no longer needed.
Since:
4.0
See Also: