| Modifier and Type | Field and Description |
|---|---|
long |
contentLength |
Map<String,Object> |
header |
InputStream |
input |
| Constructor and Description |
|---|
StreamDownload(InputStream input,
Map<String,Object> header,
long contentLength) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
Map<String,Object> |
getHeader() |
void |
write(OutputStream out) |
public InputStream input
public long contentLength
public StreamDownload(InputStream input, Map<String,Object> header, long contentLength)
public String getContentType()
getContentType in interface Downloadpublic long getContentLength()
getContentLength in interface Downloadpublic void write(OutputStream out) throws IOException
write in interface DownloadIOExceptionCopyright © 2026 Brandao. All rights reserved.