class ReleasableInputStream extends InputStream {

    @Override
    public boolean markSupported() {
        return delegate.markSupported();
    }

    public  ReleasableInputStream(InputStream delegate, Runnable onClose);

}