All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.byteplus.helper.IVodUploadStrategy Maven / Gradle / Ivy

There is a newer version: 1.1.23
Show newest version
package com.byteplus.helper;

import com.github.rholder.retry.Retryer;
import com.byteplus.service.vod.impl.VodServiceImpl;
import com.byteplus.service.vod.model.business.VodHeaderPair;

import java.io.File;
import java.util.List;

public interface IVodUploadStrategy {

    void directUpload(VodServiceImpl vodService, String host, String oid, String auth, List uploadHeaderList, File file, Retryer retryer, int storageClass, com.byteplus.helper.VodUploadProgressListener listener) throws Exception;

    void chunkUpload(VodServiceImpl vodService, String host, String oid, String auth, List uploadHeaderList, File file, boolean isLargeFile, Retryer retryer, int storageClass, com.byteplus.helper.VodUploadProgressListener listener) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy