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

de.mklinger.qetcher.client.InputConversionFile Maven / Gradle / Ivy

There is a newer version: 2.0.42.rc
Show newest version
package de.mklinger.qetcher.client;

import java.time.Duration;

import de.mklinger.commons.httpclient.HttpRequest.BodyProvider;
import de.mklinger.qetcher.client.model.v1.MediaType;

/**
 * @author Marc Klinger - mklinger[at]mklinger[dot]de
 */
public interface InputConversionFile {
	BodyProvider getBodyProvider();
	MediaType getMediaType();
	String getFilename();
	Duration getDeleteTimeout();

	public interface Builder {
		Builder filename(String filename);
		Builder mediaType(MediaType mediaType);
		Builder bodyProvider(BodyProvider bodyProvider);
		Builder deleteTimeout(Duration deleteTimeout);
		InputConversionFile build();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy