public interface UploadDataSupplier
Modifier and Type | Method and Description |
---|---|
default String |
describe()
Describe what data is being uploaded.
|
InputStream |
get() |
Protocol.Digest |
getDigest() |
static UploadDataSupplier |
of(String name,
Protocol.Digest digest,
ThrowingSupplier<InputStream,IOException> stream)
Create a simple UploadDataSupplier.
|
default String describe()
InputStream get() throws IOException
IOException
Protocol.Digest getDigest()
static UploadDataSupplier of(String name, Protocol.Digest digest, ThrowingSupplier<InputStream,IOException> stream)