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

com.sendsafely.upload.UploadManager Maven / Gradle / Ivy

package com.sendsafely.upload;

import java.io.IOException;
import java.io.InputStream;

import com.sendsafely.enums.HTTPMethod;
import com.sendsafely.exceptions.SendFailedException;
import com.sendsafely.file.FileManager;
import com.sendsafely.json.JsonManager;
import com.sendsafely.utils.Progress;

public interface UploadManager {

	public void send(String path, HTTPMethod method, String data) throws SendFailedException, IOException;
	public String sendFile(String path, FileManager file, String filename, String data, Progress progress) throws SendFailedException, IOException;
	public JsonManager getJsonManager();
	public String getContentType();
	public String getResponse() throws IOException;
	public InputStream getStream();
	public String getServer();
	public String getDate();
	public int getResponseCode();
	public String getResponseMessage();
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy