com.wavemaker.runtime.server
Class DownloadResponse
java.lang.Object
com.wavemaker.runtime.server.DownloadResponse
public class DownloadResponse
- extends java.lang.Object
A class containing a download response. This should be used as the return
type for any operation which handles download requests.
- Version:
- $Rev: 29059 $ - $Date: 2010-04-29 17:19:33 -0700 (Thu, 29 Apr 2010) $
- Author:
- Matt Small
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadResponse
public DownloadResponse()
DownloadResponse
public DownloadResponse(java.io.InputStream contents,
java.lang.String contentType,
java.lang.String fileName)
getContents
public java.io.InputStream getContents()
setContents
public void setContents(java.io.InputStream contents)
getContentType
public java.lang.String getContentType()
setContentType
public void setContentType(java.lang.String contentType)
getFileName
public java.lang.String getFileName()
setFileName
public void setFileName(java.lang.String fileName)