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