|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.channels.BaseMultithreadedChannel
org.jasig.portal.channels.CPersonAttributes
public class CPersonAttributes
This channel demonstrates the method of obtaining and displaying standard uPortal person attributes. Implements MultithreadedIMimeResponse in order to support the inline display of jpegPhotos Note: for proper operation, one should use an idempotent baseActionURL.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jasig.portal.channels.BaseMultithreadedChannel |
|---|
BaseMultithreadedChannel.ChannelState |
| Field Summary | |
|---|---|
private static java.lang.String |
sslLocation
|
| Fields inherited from class org.jasig.portal.channels.BaseMultithreadedChannel |
|---|
channelStateMap, log |
| Constructor Summary | |
|---|---|
CPersonAttributes()
|
|
| Method Summary | |
|---|---|
void |
downloadData(java.io.OutputStream out,
java.lang.String uid)
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)
Returns the MIME type of the content. |
java.util.Map |
getHeaders(java.lang.String uid)
Returns a list of header values that can be set in the HttpResponse. |
java.io.InputStream |
getInputStream(java.lang.String uid)
Returns the MIME content in the form of an input stream. |
java.lang.String |
getName(java.lang.String uid)
Returns the name of the MIME file. |
void |
renderXML(org.xml.sax.ContentHandler out,
java.lang.String uid)
Render nothing. |
void |
reportDownloadError(java.lang.Exception e)
Let the channel know that there were problems with the download |
| Methods inherited from class org.jasig.portal.channels.BaseMultithreadedChannel |
|---|
getRuntimeProperties, receiveEvent, setRuntimeData, setStaticData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String sslLocation
| Constructor Detail |
|---|
public CPersonAttributes()
| Method Detail |
|---|
public void renderXML(org.xml.sax.ContentHandler out,
java.lang.String uid)
throws PortalException
BaseMultithreadedChannel
renderXML in interface IMultithreadedChannelrenderXML in class BaseMultithreadedChannelout - the content handler to which the channel sends SAX eventsuid - a unique ID used to identify the state of the channel
PortalExceptionpublic java.lang.String getContentType(java.lang.String uid)
getContentType in interface IMultithreadedMimeResponse
public java.io.InputStream getInputStream(java.lang.String uid)
throws java.io.IOException
getInputStream in interface IMultithreadedMimeResponsejava.io.IOException
public void downloadData(java.io.OutputStream out,
java.lang.String uid)
throws java.io.IOException
downloadData in interface IMultithreadedMimeResponsejava.io.IOExceptionpublic java.lang.String getName(java.lang.String uid)
getName in interface IMultithreadedMimeResponsepublic java.util.Map getHeaders(java.lang.String uid)
getHeaders in interface IMultithreadedMimeResponsepublic void reportDownloadError(java.lang.Exception e)
reportDownloadError in interface IMultithreadedMimeResponsee -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||