Class WrappedResponseInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class WrappedResponseInputStream
    extends InputStream
    A wrapper over an InputStream that ensures that the delegate Response is closed when the delegate input stream is closed.