public interface ManagedDataSource extends DataSource
DataSource.getInputStream()
and allows to
forcibly close these streams. Any existing data source can be converted
to a managed data source using ManagedDataSourceFactory.create(DataSource)
.Modifier and Type | Method and Description |
---|---|
void |
destroy()
Close all streams that have been requested from this data source
and that are not yet closed.
|
getContentType, getInputStream, getName, getOutputStream
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.