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