Class TransportListenerNotifyingInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.eclipse.aether.spi.connector.transport.TransportListenerNotifyingInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

An InputStream wrapper that notifies a TransportListener about progress when data is read. It throws InterruptedIOException with a cause of TransferCancelledException when the transfer is cancelled in the transport listener. The start notification is sent lazily on the first read.