|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface IMimeResponse
An interface that a channel that wants to download MIME files must implement.
| Method Summary | |
|---|---|
void |
downloadData(OutputStream out)
Deprecated. Pass the OutputStream object to the download code if it needs special handling (like outputting a Zip file). |
String |
getContentType()
Deprecated. Returns the MIME type of the content. |
Map |
getHeaders()
Deprecated. Returns a list of header values that can be set in the HttpResponse. |
InputStream |
getInputStream()
Deprecated. Returns the MIME content in the form of an input stream. |
String |
getName()
Deprecated. Returns the name of the MIME file. |
void |
reportDownloadError(Exception e)
Deprecated. Let the channel know that there were problems with the download |
| Method Detail |
|---|
String getContentType()
InputStream getInputStream()
throws IOException
IOException
void downloadData(OutputStream out)
throws IOException
IOExceptionString getName()
Map getHeaders()
void reportDownloadError(Exception e)
e -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||