de.mklinger.qetcher.client.InputConversionFile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qetcher-client-bundle Show documentation
Show all versions of qetcher-client-bundle Show documentation
Qetcher Java client, OSGi bundle, minimal dependencies
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