public interface MultiPartMIMEDataSourceIteratorCallback
MultiPartMIMEDataSourceIterator.| Modifier and Type | Method and Description |
|---|---|
void |
onAbandonComplete()
Invoked when all data sources represented by this
MultiPartMIMEDataSourceIterator
have finished being abandoned. |
void |
onFinished()
Invoked when all data sources represented by this
MultiPartMIMEDataSourceIterator
have finished. |
void |
onNewDataSource(MultiPartMIMEDataSourceWriter multiPartMIMEDataSourceWriter)
Invoked when a new data source is available for consumption.
|
void |
onStreamError(java.lang.Throwable throwable)
Invoked when there was a problem producing the next data source.
|
void onNewDataSource(MultiPartMIMEDataSourceWriter multiPartMIMEDataSourceWriter)
Writer APIs to produce data to write to the
WriteHandle.multiPartMIMEDataSourceWriter - the data source which can write/produce data.void onFinished()
MultiPartMIMEDataSourceIterator
have finished.void onAbandonComplete()
MultiPartMIMEDataSourceIterator
have finished being abandoned.void onStreamError(java.lang.Throwable throwable)
throwable - the Throwable that caused this to happen.