public interface AsyncCallback
AsyncContentProvider to send the next chunk of data or if
processing the data failed.| Modifier and Type | Method and Description |
|---|---|
void |
failed(Throwable e)
Notifies the
AsyncContentProvider that the processing of the last chunk of data failed. |
void |
processed()
Notifies the
AsyncContentProvider that the last chunk of data is processed, so the next
chunk can be delivered. |
void failed(Throwable e)
AsyncContentProvider that the processing of the last chunk of data failed.
This also calls the listener registered via
AsyncContentProvider.onError(java.util.function.Consumer).e - The error that caused the failure.void processed()
AsyncContentProvider that the last chunk of data is processed, so the next
chunk can be delivered.Copyright © 2011–2019 Everit Kft.. All rights reserved.