class DownloadListenerBunch implements DownloadListener {

    @Override public void connectEnd(@NonNull DownloadTask task, int blockIndex, int responseCode,
                                     @NonNull Map<String, List<String>> responseHeaderFields) {
        for (DownloadListener listener : listenerList) {
            listener.connectEnd(task, blockIndex, responseCode, responseHeaderFields);
        }
    }

      DownloadListenerBunch(@NonNull DownloadListener[] listenerList);

}