|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.MultithreadedCharacterChannelAdapter
org.jasig.portal.MultithreadedMimeResponseCharacterChannelAdapter
@Deprecated public class MultithreadedMimeResponseCharacterChannelAdapter
Internal adapter for a multithreaded character channel that also implements IMimeResponse (capable of using DonwloadWorker)
MultithreadedChannelAdapter| Constructor Summary | |
|---|---|
MultithreadedMimeResponseCharacterChannelAdapter(IMultithreadedCharacterChannel channel,
String uid)
Deprecated. |
|
| 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 |
| Methods inherited from class org.jasig.portal.MultithreadedCharacterChannelAdapter |
|---|
getRuntimeProperties, receiveEvent, renderCharacters, renderXML, setRuntimeData, setStaticData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultithreadedMimeResponseCharacterChannelAdapter(IMultithreadedCharacterChannel channel,
String uid)
throws PortalException
PortalException| Method Detail |
|---|
public String getContentType()
IMimeResponse
getContentType in interface IMimeResponse
public InputStream getInputStream()
throws IOException
IMimeResponse
getInputStream in interface IMimeResponseIOException
public void downloadData(OutputStream out)
throws IOException
IMimeResponse
downloadData in interface IMimeResponseIOExceptionpublic String getName()
IMimeResponse
getName in interface IMimeResponsepublic Map getHeaders()
IMimeResponse
getHeaders in interface IMimeResponsepublic void reportDownloadError(Exception e)
IMimeResponse
reportDownloadError in interface IMimeResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||