public class InputStreamDownload extends java.lang.Object implements Download
ByteArrayDownload
,
FileDownload
Constructor and Description |
---|
InputStreamDownload(java.io.InputStream input,
java.lang.String contentType,
java.lang.String fileName) |
InputStreamDownload(java.io.InputStream input,
java.lang.String contentType,
java.lang.String fileName,
boolean doDownload,
long size) |
Modifier and Type | Method and Description |
---|---|
void |
write(javax.servlet.http.HttpServletResponse response) |
public InputStreamDownload(java.io.InputStream input, java.lang.String contentType, java.lang.String fileName)
public InputStreamDownload(java.io.InputStream input, java.lang.String contentType, java.lang.String fileName, boolean doDownload, long size)
Copyright © 2013 Caelum. All Rights Reserved.