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
IOExceptionProtocol.Digest getDigest()
static UploadDataSupplier of(String name, Protocol.Digest digest, ThrowingSupplier<InputStream,IOException> stream)