Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`DownloadResponse()`
`DownloadResponse(java.io.InputStream contents, java.lang.String contentType, java.lang.String fileName)`

Method Summary
`java.io.InputStream` | `getContents()`
`java.lang.String` | `getContentType()`
`java.lang.String` | `getFileName()`
`void` | `setContents(java.io.InputStream contents)`
`void` | `setContentType(java.lang.String contentType)`
`void` | `setFileName(java.lang.String fileName)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DownloadResponse

    public DownloadResponse()

### DownloadResponse

    public DownloadResponse(java.io.InputStream contents,
                            java.lang.String contentType,
                            java.lang.String fileName)

Method Detail

### 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD