|
uPortal 2.4.1 API Documentation |
|||||||||
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.MultithreadedCacheableCharacterChannelAdapter
org.jasig.portal.MultithreadedCacheableMimeResponseCharacterChannelAdapter
Internal adapter for a multithreaded character channel that is also cacheable and implements IMimeResponse (capable of using DonwloadWorker)
MultithreadedCacheableChannelAdapter
Constructor Summary | |
MultithreadedCacheableMimeResponseCharacterChannelAdapter(IMultithreadedCharacterChannel channel,
java.lang.String uid)
|
Method Summary | |
void |
downloadData(java.io.OutputStream out)
Pass the OutputStream object to the download code if it needs special handling (like outputting a Zip file). |
java.lang.String |
getContentType()
Returns the MIME type of the content. |
java.util.Map |
getHeaders()
Returns a list of header values that can be set in the HttpResponse. |
java.io.InputStream |
getInputStream()
Returns the MIME content in the form of an input stream. |
java.lang.String |
getName()
Returns the name of the MIME file. |
void |
reportDownloadError(java.lang.Exception e)
Let the channel know that there were problems with the download |
Methods inherited from class org.jasig.portal.MultithreadedCacheableCharacterChannelAdapter |
generateKey, isCacheValid |
Methods inherited from class org.jasig.portal.MultithreadedCharacterChannelAdapter |
getRuntimeProperties, receiveEvent, renderCharacters, renderXML, setRuntimeData, setStaticData |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultithreadedCacheableMimeResponseCharacterChannelAdapter(IMultithreadedCharacterChannel channel, java.lang.String uid) throws PortalException
Method Detail |
public java.lang.String getContentType()
IMimeResponse
getContentType
in interface IMimeResponse
public java.io.InputStream getInputStream() throws java.io.IOException
IMimeResponse
getInputStream
in interface IMimeResponse
java.io.IOException
public void downloadData(java.io.OutputStream out) throws java.io.IOException
IMimeResponse
downloadData
in interface IMimeResponse
java.io.IOException
public java.lang.String getName()
IMimeResponse
getName
in interface IMimeResponse
public java.util.Map getHeaders()
IMimeResponse
getHeaders
in interface IMimeResponse
public void reportDownloadError(java.lang.Exception e)
IMimeResponse
reportDownloadError
in interface IMimeResponse
e
-
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |